[MacPorts] #47962: cppcheck @1.69 build failure

MacPorts noreply at macports.org
Thu Jun 4 14:37:50 PDT 2015

#47962: cppcheck @1.69 build failure
 Reporter:  dstrubbe@…  |      Owner:  xythobuz@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.3.3
 Keywords:              |       Port:  cppcheck
 I had the previous version installed, but when upgrading it fails with
 errors like those below. XCode 5.1.1, OS 10.8.5.

 :info:build /usr/bin/clang++ -arch x86_64 -Ilib -Iexternals/tinyxml
 -DCFGDIR=\"/opt/local/share/cppcheck\" -O2 -include lib/cxx11emu.h
 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/opt/local/include
 -std=c++0x -c -o lib/checkclass.o lib/checkclass.cpp
 :info:build In file included from lib/check.cpp:23:
 :info:build In file included from lib/check.h:27:
 :info:build In file included from lib/settings.h:29:
 :info:build lib/library.h:110:56: error: no member named 'cend' in
 'std::map<std::basic_string<char>, std::pair<bool, bool>,
 std::less<std::basic_string<char>>, std::allocator<std::pair<const
 std::basic_string<char>, std::pair<bool, bool>>>>'
 :info:build         return _formatstr.find(funcname) != _formatstr.cend();
 :info:build                                             ~~~~~~~~~~ ^

Ticket URL: <https://trac.macports.org/ticket/47962>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list