[MacPorts] #34213: gcc-apple-4.2 should work around a buggy 10.4 header (was: gcc-apple-4.2 should work around a buggy 10.4 header by turning on __APPLE_ALTIVEC__ with __ALTIVEC__)

MacPorts noreply at macports.org
Sat Apr 28 01:13:21 PDT 2012


#34213: gcc-apple-4.2 should work around a buggy 10.4 header
--------------------------------------+-------------------------------------
 Reporter:  Peter_Dyballa@…           |       Owner:  jeremyhu@…           
     Type:  defect                    |      Status:  assigned             
 Priority:  Normal                    |   Milestone:                       
Component:  ports                     |     Version:  2.0.4                
 Keywords:                            |        Port:  apple-gcc42          
--------------------------------------+-------------------------------------

Comment(by jeremyhu@…):

 Either -faltivec or #include <altivec.h> needs to be used.

 So the check for __VEC__ is ok so long as <altivec.h> is included (but
 it's not).

 The issue is still in the header file, and the 10.4u SDK shipped with
 newer versions of XCode (I checked 3.1.4) have that changed, but that
 doesn't do us much good.

-- 
Ticket URL: <https://trac.macports.org/ticket/34213#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list