[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.
Antoine Pitrou
report at bugs.python.org
Fri Jan 21 12:09:52 EST 2022
Antoine Pitrou <pitrou at free.fr> added the comment:
How about:
#ifdef __cplusplus
char array[1];
#else
char array[];
#endif
?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40120>
_______________________________________
More information about the Python-bugs-list
mailing list