Opened 12 years ago
Last modified 12 years ago
#38389 closed enhancement
LLVM C11 support — at Initial Version
Reported by: | l@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | C11 | Cc: | |
Port: | hdf5-18 |
Description
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
Note: See
TracTickets for help on using
tickets.