[MacPorts] #31667: libpar2 won't build with clang++

MacPorts noreply at macports.org
Tue Oct 18 17:15:00 PDT 2011


#31667: libpar2 won't build with clang++
----------------------------------+-----------------------------------------
 Reporter:  dinge345@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.0.3                                
 Keywords:                        |        Port:  libpar2                              
----------------------------------+-----------------------------------------
 libpar2 does not compile:

 {{{:info:build ./par2fileformat.h:87:25: error: flexible array member
 'entries' of non-POD element type 'FILEVERIFICATIONENTRY []'}}}

 but forcing compiler to g++ works:

 {{{port install libpar2 configure.compiler=gcc}}}

 Using OS X 10.7.2 with XCode 4.2, no older XCode installed. MacPorts
 defaults to clang in this configuration.

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


More information about the macports-tickets mailing list