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.
#ifdef __GNUC__
1 parent 17da7d8 commit a31db85Copy full SHA for a31db85
1 file changed
Modules/_testcapimodule.c
@@ -3374,8 +3374,8 @@ _testcapi_exec(PyObject *m)
3374
3375
// Test soft-deprecated macros
3376
Py_ALIGNED(64) char buf[4];
3377
- #ifdef __GNUC__
3378
- Py_BUILD_ASSERT(_Alignof(buf) == 64);
+ #if defined(__GNUC__)
+ Py_BUILD_ASSERT(__extension__ __alignof__(buf) >= 64);
3379
#endif
3380
assert(strcmp(PY_FORMAT_SIZE_T, "z") == 0);
3381
Py_BUILD_ASSERT(Py_LL(123) == 123LL);
0 commit comments