[Qt-creator] gcc warnings

Duane duane.hebert at group-upc.com
Fri Feb 3 14:37:15 CET 2012


On 02/03/2012 07:07 AM, miguel tostes wrote:
> Use -v to check if it reached gcc...
>
> QMAKE_CXXFLAGS += -v
>
> Because "-Wno-reorder" is a valid cmdline option for gcc.

I put the two in the .pro file.

I get in part:
gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC)
COLLECT_GCC_OPTIONS='-c' '-pipe' '-v' '-Wno-reorder' '-g' '-Wall' 
'-Wextra' '-D


Looks like the flag is read but overriden by -Wall






More information about the Qt-creator mailing list