[Patches] [ python-Patches-729305 ] Compiler warning on Solaris 8

SourceForge.net noreply@sourceforge.net
Fri, 02 May 2003 16:12:38 -0700


Patches item #729305, was opened at 2003-04-28 19:42
Message generated for change (Comment added) made by gnn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=729305&group_id=5470

Category: Build
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: George Neville-Neil (gnn)
Assigned to: Neal Norwitz (nnorwitz)
Summary: Compiler warning on Solaris 8

Initial Comment:
When compiling Python 2.2 on Solaris 8 there are complaints about _FILE_OFFSET_BITS being redefined.

The following is a patch to configure.in to remedy this.


----------------------------------------------------------------------

>Comment By: George Neville-Neil (gnn)
Date: 2003-05-02 16:12

Message:
Logged In: YES 
user_id=767347

The point of the patch is that on Solaris 8 there is a file that already defines this and if configure does not notice this then
both pyconfig.h and the OS file sys/feature_test.h define it and 
when building a program with Python embedded in it you get a
lot of warnings.



----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-04-29 04:47

Message:
Logged In: YES 
user_id=21627

The patch is clearly incorrect; Python *must* define 
_FILE_OFFSET_BITS. What specific problem does that 
patch fix?

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-04-28 21:47

Message:
Logged In: YES 
user_id=80475

Neal, is this something you know about?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=729305&group_id=5470