diff options
author | Louai Al-Khanji <louai.al-khanji@digia.com> | 2014-01-20 10:37:08 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-20 09:45:25 +0100 |
commit | 38d6149644a34a4a3262af4af21ee9489382c6f7 (patch) | |
tree | 48a15656d32b70705c2ed2db00cbe86301bc2271 /src/corelib/global/qglobal.h | |
parent | 2dc98de474bf473c25ba57d13abc0eb30a70dec8 (diff) |
Revert commit 0893d2d7e5cadcbea5caca8a027ae3e28b6c5410
Commit 0893d2d7e5cadcbea5caca8a027ae3e28b6c5410 causes a lot of build
warnings on Windows with MSVC.
Change-Id: Ic857b36bf77d4f536a45cec337f4b813b9974107
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r-- | src/corelib/global/qglobal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 84f4dc9613..8a86dc158e 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -820,13 +820,11 @@ Q_CORE_EXPORT void qFreeAligned(void *ptr); /* - Avoid some particularly useless warnings from some compilers. + Avoid some particularly useless warnings from some stupid compilers. To get ALL C++ compiler warnings, define QT_CC_WARNINGS or comment out the line "#define QT_NO_WARNINGS". - These warnings can only suppressed when building QT. For end-user applications - they will be enabled. */ -#if !defined(QT_CC_WARNINGS) && defined(QT_BUILDING_QT) +#if !defined(QT_CC_WARNINGS) # define QT_NO_WARNINGS #endif #if defined(QT_NO_WARNINGS) |