From: curt Date: Mon, 2 Apr 2001 00:23:46 +0000 (+0000) Subject: Fixes for native Irix compilers. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b8e93e60991d85cafe198b412f102805a8315159;p=simgear.git Fixes for native Irix compilers. --- diff --git a/simgear/compiler.h b/simgear/compiler.h index 0c0124e6..c6294e0a 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -269,7 +269,7 @@ # define STL_FSTREAM # define STL_STDEXCEPT # define STL_STRING -# define STL_STRSTREAM +# define STL_STRSTREAM #endif // Native SGI compilers diff --git a/simgear/misc/props_io.cxx b/simgear/misc/props_io.cxx index 5b4e7625..c1cc903d 100644 --- a/simgear/misc/props_io.cxx +++ b/simgear/misc/props_io.cxx @@ -112,7 +112,7 @@ PropsVisitor::startElement (const char * name, const XMLAttributes &atts) State &st = state(); if (_level == 0) { - if (string(name) != "PropertyList") { + if (string(name) != (string)"PropertyList") { SG_LOG(SG_INPUT, SG_ALERT, "Root element name is " << name << "; expected PropertyList"); _ok = false;