[MacPorts] #33152: ppl: flexible array member 'vec_' of non-POD element type 'Coefficient []'

MacPorts noreply at macports.org
Wed Feb 8 02:15:17 PST 2012


#33152: ppl: flexible array member 'vec_' of non-POD element type 'Coefficient []'
-------------------------------+--------------------------------------------
 Reporter:  gvibe06@…          |       Owner:  adfernandes@…           
     Type:  defect             |      Status:  new                     
 Priority:  Normal             |   Milestone:                          
Component:  ports              |     Version:  2.0.3                   
 Keywords:  clang              |        Port:  ppl                     
-------------------------------+--------------------------------------------

Comment(by and.damore@…):

 Replying to [comment:2 adfernandes@…]:
 > Hmm... I'll look into this. Clang does not support flexible array
 initializations, AFAIK... funny thing is that I recently upgraded to Lion
 and rebuilt all of my macports, and didn't see this error.

 I confirm I can build ppl x86_64 on Lion using Xcode 4.2.1 without errors.

 Compare main.log lines 166 and 626, during i386 configure phase the script
 says that flexible is supported.

 The difference is in the two ''confdefs.h'' that are tested at ''configure
 +9176'' for the two archs, when cross compiling
 there's

 {{{
   A vec[];
 }}}
 rather than
 {{{
   A vec;
 }}}

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


More information about the macports-tickets mailing list