From b8e93e60991d85cafe198b412f102805a8315159 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 2 Apr 2001 00:23:46 +0000 Subject: [PATCH] Fixes for native Irix compilers. --- simgear/compiler.h | 2 +- simgear/misc/props_io.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5