Misc Irix tweaks.

This commit is contained in:
curt
2001-10-24 19:59:05 +00:00
parent 7d07e6ea51
commit f2a323e048
3 changed files with 10 additions and 4 deletions

View File

@@ -283,10 +283,14 @@
# define STL_STRING <string>
# define STL_STRSTREAM <strstream.h>
# define __STL_FUNCTION_TMPL_PARTIAL_ORDER
// # define __STL_FUNCTION_TMPL_PARTIAL_ORDER
#pragma set woff 1001,1012,1014,1116,1172,1174,1401,146,0
#pragma set woff 1551,1552,1681
#pragma set woff 1001,1012,1014,1116,1155,1172,1174
#pragma set woff 1401,1460,1551,1552,1681
#ifdef __cplusplus
#pragma set woff 1682,3303
#endif
#endif // Native SGI compilers

View File

@@ -86,7 +86,7 @@ sg_location::asString () const
{
char buf[128];
string out = "";
if (_path != "") {
if (_path != (string)"") {
out += _path;
if (_line != -1 || _column != -1)
out += ",\n";

View File

@@ -9,7 +9,9 @@
#include STL_FSTREAM
#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(ifstream);
#endif