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 <[email protected]> wrote:
> On 02/02/2012 01:12 PM, Orgad and Raizel Shaneh wrote:
>> On Thu, Feb 2, 2012 at 6:47 PM, Duane<[email protected]>  wrote:
>>>
>>> Is it possible to have gcc ignore a specific warning (in this case
>>> -Wreorder) from QtCreator?
>>>
>>> _______________________________________________
>>> Qt-creator mailing list
>>> [email protected]
>>> 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
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to