[issue10910] pyport.h FreeBSD/Mac OS X "fix" causes errors in C++ compilation
Ronald Oussoren
report at bugs.python.org
Sat Jul 6 14:03:03 CEST 2013
Ronald Oussoren added the comment:
The bytes_methods.h issue is not present in the default branch, but is still present in the 2.7 branch. I'm not sure why those defines are there, I'm adding Gregory P. Smith to the nosy list because he added the defines and might remember why they were added and if it would be save to remove them (from bytes_methods.h).
That is defines like this:
#undef islower
#define islower(c) undefined_islower(c)
I don't know what to do about the defines in pyport.h, one workaround is disable that entire block for C++ compiler, as in the attached patches (the later one is the same as the first one, but adds a comment that explains why the code is disabled for C++)
----------
nosy: +gregory.p.smith
versions: +Python 3.4
Added file: http://bugs.python.org/file30805/issue10910-workaround.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10910>
_______________________________________
More information about the Python-bugs-list
mailing list