[Patches] [ python-Patches-661869 ] gcc 3.2 /usr/local/include patch

SourceForge.net noreply@sourceforge.net
Fri, 03 Jan 2003 15:01:58 -0800


Patches item #661869, was opened at 2003-01-03 22:16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=661869&group_id=5470

Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Tishler (jlt63)
Assigned to: Martin v. Löwis (loewis)
Summary: gcc 3.2 /usr/local/include patch

Initial Comment:
The attach patch attempts to suppress error messages
like the following when building shared extensions
with gcc 3.2:

cc1: warning: changing search order for system 
directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-
system directory

Note that this patch is really a work in progress
because:

1. I'm not sure what version of gcc started to
complain about -I/usr/local/include. The only versions
that I have access to is 2.95.[23], 2.96, and 3.2.

2. There are probably better ways to implement this
patch.

Is a patch like this desired? Can you help me improve
the patch? Thanks.

[Checkbox is checked...]

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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-01-04 00:01

Message:
Logged In: YES 
user_id=21627

I don't think we should have such a patch. If anything
should be done, we should find out what the default search
path for gcc - this is independent of the GCC version.

I really consider this a bug in gcc, and I believe that gcc
3.3 will change the behaviour, again.

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

Comment By: Jason Tishler (jlt63)
Date: 2003-01-03 22:17

Message:
Logged In: YES 
user_id=86216

[Checkbox is checked again...] 

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

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