[Development] Fwd: Change in qt/qtbase[dev]: Enable -Werror for all of qtbase

Sergio Ahumada sergio.ahumada at digia.com
Wed Sep 4 16:20:49 CEST 2013


On 09/04/2013 04:03 PM, Tor Arne Vestbø wrote:
> On 9/4/13 15:58 , Giuseppe D'Angelo wrote:
>> On 4 September 2013 15:21, Poenitz Andre <Andre.Poenitz at digia.com> wrote:
>>>
>>> That's wasting our time, as predicted.
>>>
>>> ../../corelib/tools/qdatetime.cpp: In function 'time_t qt_mktime(QDate*, QTime*, QDateTimePrivate::Spec*, QString*, bool*)':
>>> ../../corelib/tools/qdatetime.cpp:258:34: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
>>> cc1plus: all warnings being treated as errors
>>
>> How did the -Werror patch got integrated if qtbase doesn't build? Did
>> it cover more compilers than the ones available in CI?
> 
> CI not using -developer-build I presume?
> 
> tor arne

the CI uses -developer-build on Ubuntu 10.04, 11.10; OS X 10.6, 10.7,
10.8; Windows 7 (mingw 4.7, 4.8; msvc 2010) and Windows 8 (msvc2012).

My guess is that on Ubuntu the compiler is too old (4.6.3 is on Ubuntu
12.04 but that doesn't use -developer-build); on OS X 10.8 seems to
work; on Windows 7 mingw 4.x seems to work as well.

You can check all the logs and configure options here

http://testresults.qt-project.org/ci/QtBase_dev_Integration/latest-success/

-- 
Sergio Ahumada
Release Engineer - Digia, Qt



More information about the Development mailing list