Eitan Adler <li...@eitanadler.com> added the comment:

copying and adapting my comments on the PR:

Strict Prototypes is correct and helpful for C. That said, the way it is 
currently implemented, by checking for the compiler in CC is sub-optimal at 
best.
CC ought to always be a C compiler, and never a C++ compiler.
It also seems questionable that distutils is using the python cflags rather 
than a dedicated set.

The best fix is a separate and specific list of flags for distutils rather than 
modifying the set of flags used to build python. That said, the current 
implementing of flags for python isn't great, so lets remove it as a short term 
fix.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue5755>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to