Commit 0893d2d7e5 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>
This commit is contained in:
Louai Al-Khanji 2014-01-20 10:37:08 +02:00 committed by The Qt Project
parent 2dc98de474
commit 38d6149644

View File

@ -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)