diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-06-24 11:28:11 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-07-01 17:17:27 +0200 |
commit | 256f810be3af225bac1ed464a13bcd314a00f303 (patch) | |
tree | f055f48812e62b4836fac49b7f7a8b2f5c520a4c /src/plugins | |
parent | 1bf95fbf6001d8475fbb04bb2189d1ed94dbd4fe (diff) |
Fix annoying warning from ICC 14 on Windows
It says that defining a macro that does defined() is not portable. The
solution implemented for MSVC 2008 and earlier does work, however, and
is portable to all compilers (the parentheses around the macro are
unnecessary).
Incidentally, this makes d98004cd2f33e8147cff9f3cb203fdef5e6dd00e
actually work: Q_CC_MSVC wasn't defined at that point in the file, so
that change had never taken effect.
warning #3199: "defined" is always false in a macro expansion in Microsoft mode
Task-number: QTBUG-39597
Change-Id: Iaa2895e7f63d97c439090043435a2b8d2f185c3a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions