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

more c++ idioms/nullptr

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

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -