[issue4025] C99 comments in Python 2.6 break build on AIX 6.1

Marc-Andre Lemburg report at bugs.python.org
Wed Dec 3 00:43:23 CET 2008


Marc-Andre Lemburg <mal at egenix.com> added the comment:

There are still quite a few C99 comments left in the code, esp. in code
that's meant for MSVC (which works fine with them) and code for the Mac
(which uses gcc and also doesn't have problems with them). Esp. the
ctypes and libffi code is full of them.

FWIW, this one exists in both SVN trunk and the Python 3.0 branch:

./Modules/_ctypes/callproc.c:
--                         MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), //
Default language

Personally, I'd find it a lot better to not use C99 style comments in
code that's not specifically meant for a C++-capable compiler like MSVC.

----------
nosy: +lemburg
versions: +Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4025>
_______________________________________


More information about the Python-bugs-list mailing list