We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0850bef commit 50fec8eCopy full SHA for 50fec8e
1 file changed
lib/settings.h
@@ -94,7 +94,12 @@ class SimpleEnableGroup {
94
};
95
96
97
-#ifdef GCC_BUG_HACK_NOEXCEPT
+#if defined(__GNUC__) && __GNUC__ <= 9
98
+// Hack to workaround GCC bug.
99
+// Details: https://trac.cppcheck.net/ticket/14850
100
+// seen on:
101
+// oraclelinux:8, g++-8.5
102
+// ubuntu:20.04, g++-9.4.0
103
#define NOEXCEPT
104
#else
105
#define NOEXCEPT noexcept
0 commit comments