Re: Additional compiler warnings list

Hi Peter,

I converted your warnings.txt file into extra-warnings.prf and added it to the project in rev 114. This qmake project feature is disabled by default and if someone wants to experiment they would only need to uncomment the line:

#CONFIG += extra-warnings

in both calitko.pri and tester.pri.

I actually wanted to try to compile with all warnings enabled but even the precompiled header couldn’t be built. That has to be checked but in any case we do have the infrastructure laid already.

You can check my new branch at http://bzr.calitko.org/developers/s3rvac/calitko/ - I’ve fixed all errors that are produced when compiling with `std=c++98 -pedantic -Wno-long-long` so it can be compiled now according to the c++98 standard! See changeset for more info.

I’ve also tried to compile the whole project with our extra warnings enabled and after “grepping out” 3rdParty and Qt warnings the compilation produced about 5000 warnings :) - qt4 itself produced about 17000 warnings. Most of them are pretty much the same (missing member initialization in the constructor initialization part, use of an old-style cast or some overriding issues) - I haven’t studied it deeply, yet, but we should check some of them out in the future.

Have a nice day, Petr

Would you like to post a relpy?


This post is a reply to:
Re: Additional compiler warnings list
Hi Petr, I converted your warnings.txt file into extra-warnings.prf and added it to the project in rev 114. This qmake project feature is disabled by default and if someone wants to (more...)

Follow-ups:
Re: Additional compiler warnings list
Hi Petr, You can check my new branch at http://bzr.calitko.org/developers/s3rvac/calitko/ - I’ve fixed all errors that are produced when compiling with `std=c++98 -pedantic -Wno-long-long` so it can be compiled now (more...)