Additional compiler warnings list

Hi Peter,

so I’ve browsed through the g++ manual and I’ve found several parameters that we can maybe additionally use. List of them (including their description) is in the attached file (see lines > 95). You can have a look at them and decide which of them would be useful for us. I’m using gcc 4.1.2 so maybe some of them are missing in previous versions.

I’ve also found a parameter named -Wno-long-long which inhibits ‘ISO C++ does not support ‘long long’’ message so maybe we’ll be able to compile with -std=c++98 -pedantic after all! It disables not only the warning mesage but also the error message. However, I don’t know whether there won’t be another problem, but lets give it a try.

Petr

Attached Files:

Would you like to post a relpy?


This post starts a thread.
Follow-ups:
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...)