[PATCH] D51011: [Preprocessor] raise gcc compatibility macros.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 20 18:01:38 PDT 2018
rsmith added a comment.
We are not fully compatible with any version of GCC later than 4.2, as we do not implement `__builtin_va_arg_pack` / `__builtin_va_arg_pack_len`. These builtins are used by the glibc headers if we claim to be GCC >= 4.3 (at least according to http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet), so this change will cause Clang to no longer compile (some versions of) the glibc headers.
Can you instead change the kernel to require GCC >= 4.6 or some suitable version of Clang?
Repository:
rC Clang
https://reviews.llvm.org/D51011
More information about the cfe-commits
mailing list