[MacPorts] #38389: LLVM C11 support

MacPorts noreply at macports.org
Thu Mar 14 13:00:35 PDT 2013


#38389: LLVM C11 support
-------------------------+--------------------------------
 Reporter:  l@…          |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Low          |  Milestone:
Component:  ports        |    Version:  2.1.3
 Keywords:  C11          |       Port:  hdf5-18
-------------------------+--------------------------------
 Hello,

 For the C++ support for this port under Xcode if compiling with LLVM
 stdlib the flag -stdlib=libc++ is required if a project has been compiled
 with LLVM C11 support in Xcode. As such the following variant is necessary
 for the linker to not complain.

 variant c11 description {
     Build with C11 support.
 } conflicts universal gcc44 gcc45 gcc46 gcc47 {
     configure.cxxflags          -stdlib=libc++
 }

 Given that LLVM is the default compiler now, this should perhaps even be a
 default variant....

 /Lasse

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


More information about the macports-tickets mailing list