diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-05-23 11:07:11 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-05-30 15:34:26 +0000 |
commit | c3030d7163245b55abfd09eefe696c035c55011c (patch) | |
tree | 300e5f0a9bfc9f9d398afb8dd065b620dd143b01 /src/tools/bootstrap-dbus | |
parent | c25ad981a334a4a720ae48cfe800868c4aef51a9 (diff) |
moc: remove _MSC_EXTENSIONS #define
Because we obviously don't support Microsoft's extensions in C++. This
is required because some MS headers have code that isn't proper C++,
like iso646.h:
#if !defined(__cplusplus) || defined(_MSC_EXTENSIONS)
#define and &&
Do not pass /Za to MSVC to generate moc_predefs.h, because this option
is incompatible with compiler options like /fp:fast that may be
user-specified.
This reverts commit e1a70ce4 and re-fixes the issue similarly to commit
d72ac3f3.
Task-number: QTBUG-58391
Change-Id: I5c0143283afed09f98200806c87259c039c00ae1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/tools/bootstrap-dbus')
0 files changed, 0 insertions, 0 deletions