[issue40120] Undefined C behavior going beyond end of struct via a [1] arrays.
Serhiy Storchaka
report at bugs.python.org
Wed Apr 1 10:09:12 EDT 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
AFAIK extern "C" only affects mangling of function names. Because of overloading in C++ you can have several functions with the same name, and to distinguish "int abs(int)" from "float abs(float)" the C++ compiler mangles function names, that makes them incompatible with C.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40120>
_______________________________________
More information about the Python-bugs-list
mailing list