summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch/qatomic_gcc.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-02-06 11:42:27 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-06 14:50:43 +0100
commit86ee853f47ebe9d9705434ab4311caf20c1db7d6 (patch)
tree1375df5f06659eec44cf1774a83cae8d214f642b /src/corelib/arch/qatomic_gcc.h
parent73e8ba9aff63e72c000d804c48aedacc9a8ee071 (diff)
Silence syncqt warnings for atomic implementation headers
Most of these headers are either forwarding headers, or we explicitly stop syncqt so that it doesn't generate class includes for the atomic implementation. Either way, syncqt doesn't see the QT_END_* (and sometimes not QT_BEGIN_*), which this commit fixes. Change-Id: Icc8da6f384f38b1ff4eb265c731ce2f2ed92a1a3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/arch/qatomic_gcc.h')
-rw-r--r--src/corelib/arch/qatomic_gcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/arch/qatomic_gcc.h b/src/corelib/arch/qatomic_gcc.h
index b5244429e6..225a7809eb 100644
--- a/src/corelib/arch/qatomic_gcc.h
+++ b/src/corelib/arch/qatomic_gcc.h
@@ -48,6 +48,10 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
#if 0
+// silence syncqt warnings
+QT_END_NAMESPACE
+QT_END_HEADER
+
#pragma qt_sync_stop_processing
#endif