I am trying to compile under solaris 8. I have CC of Solaris that come with Forte 6. When compiling I have those errors:
"tinyxml.cpp", line 36: Error: The type "std::basic_ostream<char, std::char_traits<char>>" is incomplete.
I have also tried adding
using namespace std;
in the header (and source -.cpp) file, but still getting the error
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Either uncomment #define TIXML_NEED_STREAM in tinyxml.h, or add #include <istream> (and possibly <ostream> if <istream doesn't suffice) to tinyxml.cpp (faster compile times than the previous answer).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to compile under solaris 8. I have CC of Solaris that come with Forte 6. When compiling I have those errors:
"tinyxml.cpp", line 36: Error: The type "std::basic_ostream<char, std::char_traits<char>>" is incomplete.
I have also tried adding
using namespace std;
in the header (and source -.cpp) file, but still getting the error
Either uncomment #define TIXML_NEED_STREAM in tinyxml.h, or add #include <istream> (and possibly <ostream> if <istream doesn't suffice) to tinyxml.cpp (faster compile times than the previous answer).