[PATCH] D68055: Add -fgnuc-version= to control __GNUC__ and other GCC macros

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 1 23:16:30 PDT 2019


MaskRay accepted this revision.
MaskRay added a comment.

This will make it much easier to test clang's compatibility with GCC, especially in projects that heavily use `__GNUC__` or its friends, e.g. glibc :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68055





More information about the cfe-commits mailing list