Re: [Development] Qt warnings and -Weverything/-Werror

2014-05-13 Thread Thiago Macieira
Em ter 13 maio 2014, às 12:36:02, achart...@fastmail.fm escreveu: > Also, with the QMAKE_DEFAULT_INCDIRS approach, is the path > addition logic recursive (i.e., -isystem will apply to all subfolders) > or do child folders need to be listed explicitly (I'm hoping it's > recursive)? Yes, it's recurs

Re: [Development] Qt warnings and -Weverything/-Werror

2014-05-13 Thread Thiago Macieira
Em ter 13 maio 2014, às 12:28:11, achart...@fastmail.fm escreveu: > Hi all, > > I would like to enable the -Weverything and -Werror Clang compiler flags > for my application code to treat all warnings as errors. Please note that Qt compiles mostly cleanly with -Wall -Wextra -Werror. We do not su

Re: [Development] Qt warnings and -Weverything/-Werror

2014-05-13 Thread achartier
Hi all, It looks like Thiago Macieira committed a fix for this back in January (just add paths to QMAKE_DEFAULT_INCDIRS). I am currently using Qt 5.2.1. Does this mean that this fix is present in the upcoming Qt 5.3 release? Also, with the QMAKE_DEFAULT_INCDIRS approach, is the path addition logic

[Development] Qt warnings and -Weverything/-Werror

2014-05-13 Thread achartier
Hi all, I would like to enable the -Weverything and -Werror Clang compiler flags for my application code to treat all warnings as errors. Unfortunately, Qt itself generates a large number of warnings. I would like to suppress the warnings generated for Qt code but have Clang report all the warning