Message303731
When built with clang, Python reports that it was built with something like "GCC 4.2.1 Compatible Clang 4.0.0 (tags/RELEASE_400/rc1)". This is because clang pretends to be GCC 4.2.1 for the purposes of the __VERSION__ preprocessor macro. We should use __clang_version__ when clang is being used.
(Possibly we should simply use the first line of "$CC --version" as the compiler version of record rather than writing preprocessor tests in getcompiler.c.) |
|
| Date |
User |
Action |
Args |
| 2017-10-04 20:56:25 | benjamin.peterson | set | recipients:
+ benjamin.peterson |
| 2017-10-04 20:56:25 | benjamin.peterson | set | messageid: <1507150585.16.0.213398074469.issue31696@psf.upfronthosting.co.za> |
| 2017-10-04 20:56:25 | benjamin.peterson | link | issue31696 messages |
| 2017-10-04 20:56:25 | benjamin.peterson | create | |
|