Author Topic: [Bug #7341]includes error with pch disabled in wxsproject.cpp (rev2397)  (Read 5526 times)

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
When compiling wxsproject.cpp with having pch disabled, many TiXmlNode/TiXmlElement errors like this appear:
Code
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp: In member function 'virtual bool wxsProject::LoadFromXml(TiXmlNode*)':
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:170: error: no matching function for call to 'TiXmlNode::FirstChildElement(const wchar_t [7])'
../../../../../../src/sdk/tinyxml/tinyxml.h:609: note: candidates are: const TiXmlElement* TiXmlNode::FirstChildElement() const
../../../../../../src/sdk/tinyxml/tinyxml.h:610: note:                 TiXmlElement* TiXmlNode::FirstChildElement()
../../../../../../src/sdk/tinyxml/tinyxml.h:613: note:                 const TiXmlElement* TiXmlNode::FirstChildElement(const char*) const
../../../../../../src/sdk/tinyxml/tinyxml.h:614: note:                 TiXmlElement* TiXmlNode::FirstChildElement(const char*)
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:172: error: no matching function for call to 'TiXmlElement::NextSiblingElement(const wchar_t [7])'
../../../../../../src/sdk/tinyxml/tinyxml.h:593: note: candidates are: const TiXmlElement* TiXmlNode::NextSiblingElement() const
../../../../../../src/sdk/tinyxml/tinyxml.h:594: note:                 TiXmlElement* TiXmlNode::NextSiblingElement()
../../../../../../src/sdk/tinyxml/tinyxml.h:600: note:                 const TiXmlElement* TiXmlNode::NextSiblingElement(const char*) const
../../../../../../src/sdk/tinyxml/tinyxml.h:601: note:                 TiXmlElement* TiXmlNode::NextSiblingElement(const char*)

There are also few errors like this (don't know whether these are caused by the not found functions):
Code
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:221: error: expected primary-expression before '<<' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:221: error: expected primary-expression before '<<' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:221: error: expected primary-expression before '<<' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:221: error: expected primary-expression before '<' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:221: error: expected primary-expression before '.' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:222: error: expected primary-expression before '<<' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:222: error: expected primary-expression before '<<' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:222: error: expected primary-expression before '<' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:222: error: expected primary-expression before '.' token
../../../../../../src/plugins/contrib/wxSmith/./wxsproject.cpp:223: error: expected `;' before 'AppFile'

I attached the whole error log :)

[attachment deleted by admin]
Nightly builds for openSUSE