We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9493b commit fd0ddabCopy full SHA for fd0ddab
Include/pymacro.h
@@ -30,7 +30,7 @@
30
error (see Py_BUILD_ASSERT_EXPR).
31
32
Written by Rusty Russell, public domain, http://ccodearchive.net/ */
33
-#if defined(__GNUC__)
+#if (defined(__GNUC__) && !defined(__STRICT_ANSI__))
34
/* Two gcc extensions.
35
&a[0] degrades to a pointer: a different type from an array */
36
#define Py_ARRAY_LENGTH(array) \
0 commit comments