[MacPorts] #38389: hdf5-18: LLVM C11 support

MacPorts noreply at macports.org
Thu Mar 14 13:29:24 PDT 2013


#38389: hdf5-18: LLVM C11 support
--------------------------+---------------------
  Reporter:  l@…          |      Owner:  mmoll@…
      Type:  enhancement  |     Status:  closed
  Priority:  Low          |  Milestone:
 Component:  ports        |    Version:  2.1.3
Resolution:  wontfix      |   Keywords:  C11
      Port:  hdf5-18      |
--------------------------+---------------------
Changes (by mmoll@…):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 That flag doesn't enable C++11 support. This flag does: -std=c++11. The
 flag -stdlib=libc++ just switches the C++ standard library from libstdc++
 to libc++. This is not the default in any official release of xcode/clang
 at the moment. Since the two C++ libraries are not ABI compatible, all C++
 code would have to compiled and linked against the same C++ library.
 Selectively adding variants is a bad way to do this. I wouldn't be
 surprised if there's a lot of legacy code that would break when compiled
 with libc++ (wether in C++11 mode or not).

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


More information about the macports-tickets mailing list