0
这个警告是关于什么的?这似乎是警告在内置插件中长期存在的常量。这是来自GCC 4.7.3版(Ubuntu/Linaro 4.7.3-1ubuntu1)。<built-in>:1:2:警告:使用C++ 0x长整型常量[-Wlong-long]
In file included from ../include/log4cplus/helpers/stringhelper.h:36:0,
from ../tests/performance_test/main.cxx:6:
<built-in>:1:2: warning: use of C++0x long long integer constant [-Wlong-long]
C++ 03没有'long long',所以编译器警告。使用'-std = C++ 11',在当前标准中包含'long long'。 –
@DanielFischer:问题是它不是我的代码触发警告。 – wilx
不过,如果您告诉编译器使用包含'long long'的标准,我希望它不再提醒。 –