kovdan01 wrote:

@piotrAMD It looks like that `__has_feature` preprocessor directive support was 
implemented in gcc only in 2023: 
https://github.com/gcc-mirror/gcc/commit/06280a906cb3dc80cf5e07cf3335b758848d488d

Thanks for reporting. I suppose we can just surround this chunk of code with 
`#ifdef __clang__`. I'll open corresponding PR shortly.

https://github.com/llvm/llvm-project/pull/96478
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to