[NumPy-Tickets] [NumPy] #1958: SWIG target filetype bug

NumPy Trac numpy-tickets@scipy....
Mon Oct 3 15:58:33 CDT 2011

#1958: SWIG target filetype bug
 Reporter:  woosong          |       Owner:  cdavid     
     Type:  defect           |      Status:  new        
 Priority:  normal           |   Milestone:  Unscheduled
Component:  numpy.distutils  |     Version:  1.6.0      
 Keywords:  distutils, SWIG  |  
 When SWIG is used in distutils with swig_opts '-c++' target filetype is
 set to be '.cpp'. However, when .i file has a header /* -*- c++ -*- */ in
 front, target filetype is incorrectly set to '.c' causing error.


 This line sets the target_ext to '.c' but does not change it according to
 typ in the following several lines. Should be a simple fix.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1958>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list