Menu

compilation error in solaris 8

Developer
Anonymous
2003-05-06
2003-05-14
  • Anonymous

    Anonymous - 2003-05-06

    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

     
    • B Sizer

      B Sizer - 2003-05-14

      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).

       

Log in to post a comment.

MongoDB Logo MongoDB