Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • wyll
    Junior Member
    • Feb 2016
    • 6

    cppcheck install for pindel

    I'm trying to install cppcheck as requested by pindel
    However, I downloaded cppcheck-1.72.tar.gz

    make install
    showed the following error message

    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/astutils.o lib/astutils.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/check.o lib/check.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/check64bit.o lib/check64bit.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkassert.o lib/checkassert.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkautovariables.o lib/checkautovariables.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkbool.o lib/checkbool.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkboost.o lib/checkboost.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkbufferoverrun.o lib/checkbufferoverrun.cpp
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkclass.o lib/checkclass.cpp
    lib/checkclass.cpp: In member function ‘void CheckClass::checkConst()’:
    lib/checkclass.cpp:1704: error: ‘const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘back’
    make: *** [lib/checkclass.o] Error 1
    [guest06@h71 cppcheck-1.72]$ make
    g++ -Ilib -Iexternals/tinyxml -std=c++0x -O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare -std=c++0x -c -o lib/checkclass.o lib/checkclass.cpp
    lib/checkclass.cpp: In member function ‘void CheckClass::checkConst()’:
    lib/checkclass.cpp:1704: error: ‘const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >’ has no member named ‘back’
    make: *** [lib/checkclass.o] Error 1

    Does anyone know how to solve this?
    Thanks for the help
    Last edited by wyll; 03-15-2016, 05:17 PM.

Latest Articles

Collapse

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 06-09-2026, 11:58 AM
0 responses
31 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-05-2026, 10:09 AM
0 responses
38 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-04-2026, 08:59 AM
0 responses
43 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-02-2026, 12:03 PM
0 responses
64 views
0 reactions
Last Post SEQadmin2  
Working...