build cppcheck 1.69 on Ubuntu 11.04 fails -
i'm trying build cppcheck 1.69 on ubuntu 11.04.
command:
make or
make srcdir=build cfgdir=cfg have_rules=yes result:
build/checkautovariables.cpp:527:16: error: no match ‘operator==’ in ‘var == cppcheck_nullptr_impl’
it fails on g++ 4.1.1-4.5 due bug #33990. bug in lookup of member template conversion operator pointer member functions
and
i did gcc 4.5 ugly fix in cxx1emu.h replacing
#define nullptr cppcheck_nullptr_impl with
#if (__gnuc__ <= 4 && __gnuc_minor__ == 5) #define nullptr (0) #else #define nullptr cppcheck_nullptr_impl #endif
Comments
Post a Comment