This is my worst nightmare:
./configmanager.h: In member function 'void ConfigManager::Read(const wxString&, ConfigManagerContainer::SerializableObjectMap*)':
./configmanager.h:199: error: expected primary-expression before '<<' token
./configmanager.h:199: error: expected primary-expression before '<<' token
./configmanager.h:199: error: expected primary-expression before '<<' token
./configmanager.h:199: error: expected primary-expression before '<' token
./configmanager.h:199: error: expected primary-expression before '.' token
./configmanager.h:200: error: expected `;' before 'if'
make[2]: *** [sdk.h.gch] Error 1
Thanks for your code Mandrav, but it doest work to me :(
This is stronger than me :-(
Deleted sdk.h.gch, but I have same error .
./configmanager.h: In member function 'void ConfigManager::Read(const wxString&, ConfigManagerContainer::SerializableObjectMap*)':
./configmanager.h:199: error: no matching function for call to 'TiXmlHandle::FirstChild(wxString&)'
./tinyxml/tinyxml.h:1458: note: candidates are: TiXmlHandle TiXmlHandle::FirstChild() const
./tinyxml/tinyxml.h:1460: note: TiXmlHandle TiXmlHandle::FirstChild(const char*) const
make[2]: *** [sdk.h.gch] Error 1
make[2]: Leaving directory `/home/jose/instalados/cbsvn/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jose/instalados/cbsvn/trunk/src'
make: *** [all-recursive] Error 1
This is what i try to "make" from svn version 1419:
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/as/include -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -O2 -ffast-math -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o ./sdk.h.gch -xc++-header ./sdk.h
In file included from ./sdk.h:87:
./configmanager.h:6:24: wx/hashset.h: No such file or directory
In file included from ./sdk.h:87:
./configmanager.h:49: error: `StringSet' has not been declared
./configmanager.h:49: error: expected constructor, destructor, or type conversion before ';' token
./configmanager.h:177: error: expected unqualified-id before '&' token
./configmanager.h:177: error: expected `,' or `...' before '&' token
./configmanager.h:177: error: ISO C++ forbids declaration of `parameter' with no type
./configmanager.h:177: error: `void ConfigManager::Write(const wxString&, int)' and `void ConfigManager::Write(const wxString&, int)' cannot be overloaded
./configmanager.h:178: error: `ConfigManagerContainer::StringSet' has not been declared
./configmanager.h:178: error: ISO C++ forbids declaration of `map' with no type
./configmanager.h:178: error: `void ConfigManager::Read(const wxString&, int*)' and `bool ConfigManager::Read(const wxString&, int*)' cannot be overloaded
./configmanager.h:179: error: using-declaration for non-member at class scope
./configmanager.h:179: error: expected `;' before "ReadSSet"
make[2]: *** [sdk.h.gch] Error 1
make[2]: Leaving directory `/usr/local/src/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/trunk/src'
make: *** [all-recursive] Error 1