[Interest] Qt dev branch - builds very noisy?

Marian Beermann public at enkore.de
Tue Sep 16 15:14:56 CEST 2014


With current qtbase dev branch I get tons of -Wlong-long warnings (gcc
is 4.9.1, OS is Arch Linux, configure below), all essentially refering
to src/corelib/global/qglobal.h lines 192-194 (example below).

What suprises me is that I'm building with C++11, so this shouldn't be
an issue?

This also happens with a more basic configuration (./configure
-developer-build)

-marian


Configure:

./configure -static -release -no-directfb -no-kms -no-cups -no-widgets
-no-openssl -no-gtkstyle -no-alsa -no-pulseaudio -c++11 -opensource
-confirm-license -silent


Example error message:

../../../include/QtCore/../../src/corelib/global/qglobal.h:192:57: note:
in definition of macro ‘Q_UINT64_C’
 #  define Q_UINT64_C(c) static_cast<unsigned long long>(c ## ULL) /*
unsigned 64 bit constant */
                                                         ^
../../../include/QtCore/../../src/corelib/global/qglobal.h:193:14:
warning: ISO C++ 1998 does not support ‘long long’ [-Wlong-long]
 typedef long long qint64;           /* 64 bit signed */
              ^
../../../include/QtCore/../../src/corelib/global/qglobal.h:194:23:
warning: ISO C++ 1998 does not support ‘long long’ [-Wlong-long]
 typedef unsigned long long quint64; /* 64 bit unsigned */



More information about the Interest mailing list