[Qt-creator] gcc warnings

miguel tostes tostes at gmail.com
Fri Feb 3 13:07:15 CET 2012


Use -v to check if it reached gcc...

QMAKE_CXXFLAGS += -v

Because "-Wno-reorder" is a valid cmdline option for gcc.


On Thu, Feb 2, 2012 at 5:57 PM, Duane <duane.hebert at group-upc.com> wrote:
> On 02/02/2012 01:12 PM, Orgad and Raizel Shaneh wrote:
>> On Thu, Feb 2, 2012 at 6:47 PM, Duane<duane.hebert at group-upc.com>  wrote:
>>>
>>> Is it possible to have gcc ignore a specific warning (in this case
>>> -Wreorder) from QtCreator?
>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> Qt-creator at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>
>>
>> What build system are you using? For qmake, you can add QMAKE_CXXFLAGS
>> += -Wno-reorder
>
> Using qmake from creator with gcc tool chain.  Adding this gets me:
> ***Unknown option -Wno-reorder
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list