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 2425346 commit 6261585Copy full SHA for 6261585
Include/object.h
@@ -165,6 +165,11 @@ check by comparing the reference count field to the immortality reference count.
165
*/
166
struct _object {
167
_PyObject_HEAD_EXTRA
168
+#if (defined(__GNUC__) || defined(__clang__)) \
169
+ && !(defined __STDC_VERSION__ && __STDC_VERSION__ >= 201112L)
170
+ // On C99 and older, anonymous union is a GCC and clang extension
171
+ __extension__
172
+#endif
173
union {
174
Py_ssize_t ob_refcnt;
175
#if SIZEOF_VOID_P > 4
0 commit comments