[cfe-users] Question about libclang 4.0/3.9 compatibility.

2018-11-25 Thread Devin Hussey via cfe-users
I am trying to make https://github.com/AnacondaRecipes/c99-to-c89 (obviously a c99 to c89 converter) work with newer Clang versions. I mainly want to use it so we can use full C99 features with an old version of gcc (2.95), which we are stuck with for a project. Something between 3.9 and 4.0 brok

[cfe-users] Power9 and __builtin_byte_in_range

2018-11-25 Thread Jeffrey Walton via cfe-users
I'm trying to compile a Power9 program with Clang 7.0: $ $HOME/llvm/bin/clang++ -mcpu=power9 -maltivec TestPrograms/test_ppc_power9.cxx TestPrograms/test_ppc_power9.cxx:6:11: error: use of undeclared identifier '__builtin_byte_in_range' bool x = __builtin_byte_in_range(b, r);