diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-03-07 13:16:13 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-03-08 09:24:25 +0000 |
commit | c6a26c248e8abc421b87c3dd6b2466d490ea902e (patch) | |
tree | 3135a2f552039a28245a8ab6d4697baabe7d397b /src/qml | |
parent | c99abf1851bbbfcec11eb77173df620746940ab0 (diff) |
Fix compiler warnings on gcc 7.2
gcc 7.2 gives tons of warnings of the form:
./3rdparty/masm/wtf/Assertions.h:186:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In practice the marco expansion to (defined FOO && FOO) can safely
be reduced to simply FOO, as #if FOO will expand to #if 0 if FOO
is not defined.
Change-Id: Idc1b09990725b99bbfa2c3bc949565254ea4174f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml')
0 files changed, 0 insertions, 0 deletions