[Python-Dev] PyConfig.h On Solaris

Martin v. Löwis martin@v.loewis.de
22 Jul 2003 22:02:12 +0200


John Abel <johnfabel@btinternet.com> writes:

> Just a quick update.  As a final attempt, before I implemented
> Martin's suggestion, I chaged the order of the includes.  

Then you are operating Python out of its specification. See

http://www.python.org/doc/current/api/includes.html

Good luck, and be prepared for random crashes.

> Having Python.h last in the includes, solved everything (apart from
> a warning, about _FILE_OFFSET_BITS being redefined.  If it's already
> defined by the OS, does pyconfig.h have to define it?).  Is there
> somewhere to log things such as this?  Does it warrant a bug report?

There is no bug AFAICT.

Regards,
Martin