summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/global/qglobal.h6
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)