c++ - <built-in>:1:2: warning: use of C++0x long long integer constant [-Wlong-long] -
what warning about? seems warning long long constants in built ins. gcc version 4.7.3 (ubuntu/linaro 4.7.3-1ubuntu1).
in file included ../include/log4cplus/helpers/stringhelper.h:36:0, ../tests/performance_test/main.cxx:6: <built-in>:1:2: warning: use of c++0x long long integer constant [-wlong-long]
you can use new c++11 standard daniel fischer suggests. however, if cross-compiling or have older compiler:
-wno-long-long
is valid compiler flag inhibit warning (of course man gcc
).
Comments
Post a Comment