[Patches] [ python-Patches-603831 ] ccompiler argument checking too strict

noreply@sourceforge.net noreply@sourceforge.net
Thu, 05 Sep 2002 06:45:42 -0700


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

Category: Distutils and setup.py
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Moshe Zadka (moshez)
Assigned to: A.M. Kuchling (akuchling)
Summary: ccompiler argument checking too strict

Initial Comment:
ccompiler's argument checking prevents the check_header
functionality.

The patch found in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=159288&repeatmerged=yes
is a workaround -- there are possibly better
workarounds, but this
one is easy and works.

Thanks.

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

>Comment By: A.M. Kuchling (akuchling)
Date: 2002-09-05 09:45

Message:
Logged In: YES 
user_id=11375

After some more poking, I think the following other two changes are 
needed (providing a body to try_cpp(), and using the source file 
name 
in preprocess()).





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

Comment By: A.M. Kuchling (akuchling)
Date: 2002-09-05 09:30

Message:
Logged In: YES 
user_id=11375

The patch looks fine to me; feel free to check it in.  (Should 
probably mark it a bugfix candidate.)

However, can you provide an example setup.py?  With the 
suggested patch, check_header() still fails for me.



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

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