diff --git a/dtool/src/dtoolbase/fakestringstream.h b/dtool/src/dtoolbase/fakestringstream.h index 427b7a7737..c8a738e103 100644 --- a/dtool/src/dtoolbase/fakestringstream.h +++ b/dtool/src/dtoolbase/fakestringstream.h @@ -69,6 +69,13 @@ public: { _owns_str = false; } + + // str() doesn't seem to compile cross-platform too reliably--Irix + // doesn't define pcount() for some reason. On the other hand, why + // are you calling str() on a stringstream? Just use an + // ostringstream. + + /* string str() { int length = pcount(); char *s = strstream::str(); @@ -78,6 +85,7 @@ public: } return result; } + */ private: bool _owns_str;