We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45bd26c commit 2c27d1fCopy full SHA for 2c27d1f
1 file changed
src/support/error.h
@@ -27,7 +27,7 @@
27
#endif /* defined(__GNUC__) || defined(__clang__) */
28
#endif /* !defined(ERROR_NORET) */
29
30
-#if defined(__GNUC__) || defined(__clang__)
+#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ >= 12)
31
#define ERROR_FILE __FILE_NAME__
32
#else
33
#define ERROR_FILE __FILE__
0 commit comments