path: root/src/sql/drivers/ibase/qsql_ibase.cpp
diff options
authorThiago Macieira <>2014-01-03 21:22:45 -0200
committerThe Qt Project <>2014-01-13 22:46:50 +0100
commit81157d23749f6ee1feef35a04fa9cc989ebc01eb (patch)
treec88698aee7799eb05b0bb6ae1f60704258751ea3 /src/sql/drivers/ibase/qsql_ibase.cpp
parentd19eef3bbb330d74caade0da32e85034c3e5c69e (diff)
Use the QMAKE_CXXFLAGS_WARN_ON variable for setting -Werror
This would mean we don't pass -Werror when under CONFIG += warn_off. However, that's not the main goal. The main goal of this change is to have -Werror appear *after* -Wall -Wextra. With some compilers, like Clang, this is necessary to have the -Wno-error=foo options work properly. For example, if the -Wfoo warning gets enabled by -Wall, Clang will treat it as an error if the arguments appear in the following order: -Werror -Wno-error=foo -Wall But not if they appear in this order: -Wall -Werror -Wno-error=foo Change-Id: I38c820bffc8277d909391e9bf557db5347836b9c Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'src/sql/drivers/ibase/qsql_ibase.cpp')
0 files changed, 0 insertions, 0 deletions