[Python-Dev] Hundreds of warnings

Tim Peters tim@zope.com
Wed, 15 May 2002 13:05:16 -0400


Some recent patch to Python.h moved its include of pyport.h above its
include of limits.h.  As a result, pyport.h defines LONG_MIN and LONG_MAX
itself, and then limit.h's attempt to define them correctly leads to legit
warnings about macro redefinitions.  This happens for every file in the
project, of course, since everyone includes Python.h.

Don't know more and don't want to <wink> -- whatever this change was trying
to solve needs to be done in a different way.