[cfe-commits] [PATCH] Add configuration of CLANG_VENDOR, VENDOR_GCC_VERISON
Rafael EspĂndola
rafael.espindola at gmail.com
Mon Aug 27 11:05:06 PDT 2012
> Note:
> Two patches associated with this commit, first for llvm, second for clang.
> The clang patch
> 0002-Add-configuration-of-CLANG_VENDOR-VENDOR_GCC_VERISON.patch
> depends on the llvm patch
> 0001-Add-configuration-of-CLANG_VENDOR-VENDOR_GCC_VERISON.patch
Changing the gcc version in only some places is strange. It would
still define __GNUC_MINOR__ to be 2 for example.
Some time ago Chandler convinced me that we should keep pretending to
be 4.2 and ask users to check for clang directly when they want to
detect if a new feature is supported. Is there a reason why you need
clang to claim to be another version of gcc?
Cheers,
Rafael
More information about the cfe-commits
mailing list