Advertisement
LocutusOfBorg

debian cppcheck FTBFS

Mar 13th, 2014
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.10 KB | None | 0 0
  1. 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
  2. lib/errorlogger.cpp: In static member function 'static std::string ErrorLogger::ErrorMessage::getXMLHeader(int)':
  3. lib/errorlogger.cpp:188:41: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [8], bool)'
  4. printer.OpenElement("results", false);
  5. ^
  6. lib/errorlogger.cpp:188:41: note: candidate is:
  7. In file included from lib/errorlogger.cpp:25:0:
  8. /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
  9. void OpenElement( const char* name );
  10. ^
  11. /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
  12. lib/errorlogger.cpp:192:46: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [9], bool)'
  13. printer.OpenElement("cppcheck", false);
  14. ^
  15. lib/errorlogger.cpp:192:46: note: candidate is:
  16. In file included from lib/errorlogger.cpp:25:0:
  17. /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
  18. void OpenElement( const char* name );
  19. ^
  20. /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
  21. lib/errorlogger.cpp:194:35: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
  22. printer.CloseElement(false);
  23. ^
  24. lib/errorlogger.cpp:194:35: note: candidate is:
  25. In file included from lib/errorlogger.cpp:25:0:
  26. /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
  27. void CloseElement();
  28. ^
  29. /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
  30. lib/errorlogger.cpp:195:44: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [7], bool)'
  31. printer.OpenElement("errors", false);
  32. ^
  33. lib/errorlogger.cpp:195:44: note: candidate is:
  34. In file included from lib/errorlogger.cpp:25:0:
  35. /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
  36. void OpenElement( const char* name );
  37. ^
  38. /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
  39. lib/errorlogger.cpp: In member function 'std::string ErrorLogger::ErrorMessage::toXML(bool, int) const':
  40. lib/errorlogger.cpp:214:49: error: no matching function for call to 'tinyxml2::XMLPrinter::XMLPrinter(int, bool, int)'
  41. tinyxml2::XMLPrinter printer(0, false, 1);
  42. ^
  43. lib/errorlogger.cpp:214:49: note: candidates are:
  44. In file included from lib/errorlogger.cpp:25:0:
  45. /usr/include/tinyxml2.h:1332:2: note: tinyxml2::XMLPrinter::XMLPrinter(FILE*)
  46. XMLPrinter( FILE* file=0 );
  47. ^
  48. /usr/include/tinyxml2.h:1332:2: note: candidate expects 1 argument, 3 provided
  49. /usr/include/tinyxml2.h:1325:7: note: constexpr tinyxml2::XMLPrinter::XMLPrinter(const tinyxml2::XMLPrinter&)
  50. class XMLPrinter : public XMLVisitor
  51. ^
  52. /usr/include/tinyxml2.h:1325:7: note: candidate expects 1 argument, 3 provided
  53. lib/errorlogger.cpp:215:43: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [6], bool)'
  54. printer.OpenElement("error", false);
  55. ^
  56. lib/errorlogger.cpp:215:43: note: candidate is:
  57. In file included from lib/errorlogger.cpp:25:0:
  58. /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
  59. void OpenElement( const char* name );
  60. ^
  61. /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
  62. lib/errorlogger.cpp:223:35: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
  63. printer.CloseElement(false);
  64. ^
  65. lib/errorlogger.cpp:223:35: note: candidate is:
  66. In file included from lib/errorlogger.cpp:25:0:
  67. /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
  68. void CloseElement();
  69. ^
  70. /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
  71. lib/errorlogger.cpp:229:49: error: no matching function for call to 'tinyxml2::XMLPrinter::XMLPrinter(int, bool, int)'
  72. tinyxml2::XMLPrinter printer(0, false, 2);
  73. ^
  74. lib/errorlogger.cpp:229:49: note: candidates are:
  75. In file included from lib/errorlogger.cpp:25:0:
  76. /usr/include/tinyxml2.h:1332:2: note: tinyxml2::XMLPrinter::XMLPrinter(FILE*)
  77. XMLPrinter( FILE* file=0 );
  78. ^
  79. /usr/include/tinyxml2.h:1332:2: note: candidate expects 1 argument, 3 provided
  80. /usr/include/tinyxml2.h:1325:7: note: constexpr tinyxml2::XMLPrinter::XMLPrinter(const tinyxml2::XMLPrinter&)
  81. class XMLPrinter : public XMLVisitor
  82. ^
  83. /usr/include/tinyxml2.h:1325:7: note: candidate expects 1 argument, 3 provided
  84. lib/errorlogger.cpp:230:43: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [6], bool)'
  85. printer.OpenElement("error", false);
  86. ^
  87. lib/errorlogger.cpp:230:43: note: candidate is:
  88. In file included from lib/errorlogger.cpp:25:0:
  89. /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
  90. void OpenElement( const char* name );
  91. ^
  92. /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
  93. lib/errorlogger.cpp:239:50: error: no matching function for call to 'tinyxml2::XMLPrinter::OpenElement(const char [9], bool)'
  94. printer.OpenElement("location", false);
  95. ^
  96. lib/errorlogger.cpp:239:50: note: candidate is:
  97. In file included from lib/errorlogger.cpp:25:0:
  98. /usr/include/tinyxml2.h:1340:7: note: void tinyxml2::XMLPrinter::OpenElement(const char*)
  99. void OpenElement( const char* name );
  100. ^
  101. /usr/include/tinyxml2.h:1340:7: note: candidate expects 1 argument, 2 provided
  102. lib/errorlogger.cpp:242:39: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
  103. printer.CloseElement(false);
  104. ^
  105. lib/errorlogger.cpp:242:39: note: candidate is:
  106. In file included from lib/errorlogger.cpp:25:0:
  107. /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
  108. void CloseElement();
  109. ^
  110. /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
  111. lib/errorlogger.cpp:244:35: error: no matching function for call to 'tinyxml2::XMLPrinter::CloseElement(bool)'
  112. printer.CloseElement(false);
  113. ^
  114. lib/errorlogger.cpp:244:35: note: candidate is:
  115. In file included from lib/errorlogger.cpp:25:0:
  116. /usr/include/tinyxml2.h:1348:7: note: void tinyxml2::XMLPrinter::CloseElement()
  117. void CloseElement();
  118. ^
  119. /usr/include/tinyxml2.h:1348:7: note: candidate expects 0 arguments, 1 provided
  120. make[2]: *** [lib/errorlogger.o] Error 1
  121. make[2]: Leaving directory `/tmp/buildd/cppcheck-1.64+dfsg'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement