[llvm-dev] llvm-config --cxxflags should report C++ language standard version
Johan Engelen via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 30 16:16:51 PDT 2019
Hi all,
Since 2724d9e12960cc1d93eeabbfc9aa1bffffa041cc, llvm-config -cxxflags no
longer reports the C++ language standard version (e.g. "-std=c++14") used
to compile LLVM. This may break builds of projects that build with the same
flags as LLVM, e.g. the LDC compiler.
Quoting from llvm/tools/llvm-config/CMakeLists.txt:
```
# The language standard potentially affects the ABI/API of LLVM, so we want
# to make sure it is reported by llvm-config.
```
Even in the case of default C++ version, in my opinion llvm-config should
explicitly report it.
cheers,
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191031/306aaaaa/attachment.html>
More information about the llvm-dev
mailing list