[LLVMdev] Regarding CMake options for LLVM
Reid Kleckner
reid.kleckner at gmail.com
Sat Feb 12 23:08:45 PST 2011
On Sat, Feb 12, 2011 at 11:24 PM, nullnull <null.function at gmail.com> wrote:
> (1) I'd like to add "-std=c++0x" for some files in
> lib\Transforms\Instrumentation. (I don't think it's good idea to put this
> option entirely)
IIRC this is actually not safe with libstdc++, because enabling C++0x
changes some class definitions in ways that break ABI compatibility.
In particular, I seem to remember this causing ODR violations.
I don't know much about changing the CMake build.
Reid
More information about the llvm-dev
mailing list