[PATCH] D63048: Update __VERSION__ to remove the hardcoded 4.2.1 version

Sylvestre Ledru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 8 08:05:37 PDT 2019


sylvestre.ledru added a comment.

In D63048#1535222 <https://reviews.llvm.org/D63048#1535222>, @xbolva00 wrote:

> Btw, what about this code
>
>   // Currently claim to be compatible with GCC 4.2.1-5621, but only if we're
>   // not compiling for MSVC compatibility
>   Builder.defineMacro("__GNUC_MINOR__", "2");
>   Builder.defineMacro("__GNUC_PATCHLEVEL__", "1");
>   Builder.defineMacro("__GNUC__", "4");
>
>
> ?


Dunno, what do you think @rnk  ?


Repository:
  rC Clang

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

https://reviews.llvm.org/D63048





More information about the cfe-commits mailing list