[PATCH] D107304: [clangd][query-driver] Extract GCC version from the driver output

Aleksandr Platonov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 4 12:13:14 PDT 2021


ArcsinX added a comment.

In D107304#2926310 <https://reviews.llvm.org/D107304#2926310>, @sammccall wrote:

> Clang's current answer is "yes we are GCC >=4, but no we are not GCC >=5".
> This causes the codebase to reject the compiler, because it relies on features/absence of bugs from GCC 5. @ArcSinX any idea what these are, concretely?

The checks about GCC version that I saw were related with some features from C++ standard that GCC < 4.X.Y doesn't support and there was a try to implement these features for GCC < 4.X.Y, but clang has these features and some kind of conflict appears.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107304



More information about the cfe-commits mailing list