summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch/qatomic_power.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/arch/qatomic_power.h')
-rw-r--r--src/corelib/arch/qatomic_power.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/arch/qatomic_power.h b/src/corelib/arch/qatomic_power.h
index 1be2b770a8..ad1c619d56 100644
--- a/src/corelib/arch/qatomic_power.h
+++ b/src/corelib/arch/qatomic_power.h
@@ -46,6 +46,15 @@
QT_BEGIN_NAMESPACE
+#if 0
+// silence syncqt warnings
+QT_END_NAMESPACE
+QT_END_HEADER
+
+#pragma qt_sync_skip_header_check
+#pragma qt_sync_stop_processing
+#endif
+
#define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE
inline bool QBasicAtomicInt::isReferenceCountingNative()