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

Raul Tambre via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 12:49:27 PDT 2023


tambre added a comment.

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?


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