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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -