Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -Ilib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DHAVE_RULES -DTIXML_USE_STL -std=c++0x -c -o lib/errorlogger.o lib/errorlogger.cpp
- lib/errorlogger.cpp: In static member function 'static std::string ErrorLogger::ErrorMessage::getXMLHeader(int)':
- lib/errorlogger.cpp:188:41: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [8], bool)'
- printer.OpenElement("results", false);
- ^
- lib/errorlogger.cpp:188:41: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
- void OpenElement( const char* name );
- ^
- /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
- lib/errorlogger.cpp:192:46: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [9], bool)'
- printer.OpenElement("cppcheck", false);
- ^
- lib/errorlogger.cpp:192:46: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
- void OpenElement( const char* name );
- ^
- /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
- lib/errorlogger.cpp:194:35: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
- printer.CloseElement(false);
- ^
- lib/errorlogger.cpp:194:35: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
- void CloseElement();
- ^
- /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
- lib/errorlogger.cpp:195:44: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [7], bool)'
- printer.OpenElement("errors", false);
- ^
- lib/errorlogger.cpp:195:44: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
- void OpenElement( const char* name );
- ^
- /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
- lib/errorlogger.cpp: In member function 'std::string ErrorLogger::ErrorMessage::toXML(bool, int) const':
- lib/errorlogger.cpp:214:49: error: no matching function for call to 'tinyxml2::XMLPrinter::XMLPrinter(int, bool, int)'
- tinyxml2::XMLPrinter printer(0, false, 1);
- ^
- lib/errorlogger.cpp:214:49: note: candidates are:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1332:2: note: tinyxml2::XMLPrinter::XMLPrinter(FILE*)
- XMLPrinter( FILE* file=0 );
- ^
- /usr/include/tinyxml2.h:1332:2: note: candidate expects 1 argument, 3 provided
- /usr/include/tinyxml2.h:1325:7: note: constexpr tinyxml2::XMLPrinter::XMLPrinter(const tinyxml2::XMLPrinter&)
- class XMLPrinter : public XMLVisitor
- ^
- /usr/include/tinyxml2.h:1325:7: note: candidate expects 1 argument, 3 provided
- lib/errorlogger.cpp:215:43: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [6], bool)'
- printer.OpenElement("error", false);
- ^
- lib/errorlogger.cpp:215:43: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
- void OpenElement( const char* name );
- ^
- /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
- lib/errorlogger.cpp:223:35: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
- printer.CloseElement(false);
- ^
- lib/errorlogger.cpp:223:35: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
- void CloseElement();
- ^
- /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
- lib/errorlogger.cpp:229:49: error: no matching function for call to 'tinyxml2::XMLPrinter::XMLPrinter(int, bool, int)'
- tinyxml2::XMLPrinter printer(0, false, 2);
- ^
- lib/errorlogger.cpp:229:49: note: candidates are:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1332:2: note: tinyxml2::XMLPrinter::XMLPrinter(FILE*)
- XMLPrinter( FILE* file=0 );
- ^
- /usr/include/tinyxml2.h:1332:2: note: candidate expects 1 argument, 3 provided
- /usr/include/tinyxml2.h:1325:7: note: constexpr tinyxml2::XMLPrinter::XMLPrinter(const tinyxml2::XMLPrinter&)
- class XMLPrinter : public XMLVisitor
- ^
- /usr/include/tinyxml2.h:1325:7: note: candidate expects 1 argument, 3 provided
- lib/errorlogger.cpp:230:43: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [6], bool)'
- printer.OpenElement("error", false);
- ^
- lib/errorlogger.cpp:230:43: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
- void OpenElement( const char* name );
- ^
- /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
- lib/errorlogger.cpp:239:50: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [9], bool)'
- printer.OpenElement("location", false);
- ^
- lib/errorlogger.cpp:239:50: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
- void OpenElement( const char* name );
- ^
- /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
- lib/errorlogger.cpp:242:39: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
- printer.CloseElement(false);
- ^
- lib/errorlogger.cpp:242:39: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
- void CloseElement();
- ^
- /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
- lib/errorlogger.cpp:244:35: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
- printer.CloseElement(false);
- ^
- lib/errorlogger.cpp:244:35: note: candidate is:
- In file included from lib/errorlogger.cpp:25:0:
- /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
- void CloseElement();
- ^
- /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
- make[2]: *** [lib/errorlogger.o] Error 1
- make[2]: Leaving directory `/tmp/buildd/cppcheck-1.64+dfsg'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement