[PATCH] D133375: [CMake] Remove CLANG_DEFAULT_STD_C/CLANG_DEFAULT_STD_CXX

Sam James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 19:20:44 PDT 2023


thesamesam added a comment.

In D133375#4214214 <https://reviews.llvm.org/D133375#4214214>, @tambre wrote:

> I've now run into a snag with this. Having `clang++.cfg` with `-std=c++2b` makes `/usr/bin/clang++ -E -dM -` fail with `error: invalid argument '-std=c++2b' not allowed with 'C'`.
> This is invoked by Meson during its configuration process and causes it to fail.
>
> Am I doing something wrong?

Filed https://github.com/llvm/llvm-project/issues/61641, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133375/new/

https://reviews.llvm.org/D133375



More information about the cfe-commits mailing list