summaryrefslogtreecommitdiff
path: root/include/sal/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sal/config.h')
-rw-r--r--include/sal/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sal/config.h b/include/sal/config.h
index edac79de14cf..93a4898b0202 100644
--- a/include/sal/config.h
+++ b/include/sal/config.h
@@ -86,6 +86,12 @@
#define SAL_CONFIGFILE( name ) name "rc"
#endif
+#if defined __clang__
+#if __has_warning("-Wpotentially-evaluated-expression")
+#pragma GCC diagnostic ignored "-Wpotentially-evaluated-expression"
+#endif
+#endif
+
#endif // INCLUDED_SAL_CONFIG_H