aguinet / dragonffi

C Foreign Function Interface and JIT using Clang/LLVM
Apache License 2.0
548 stars 23 forks source link

compile_error test can't be compiled, on ppc64: anon_cu_0.c:1:1: error: unknown type name 'this' #58

Closed advancedwebdeveloper closed 3 years ago

advancedwebdeveloper commented 3 years ago

Here is what I got:

$ ./compile_error /__dffi_private/anon_cu_0.c:1:1: error: unknown type name 'this' this is not valid C code ^ /__dffi_private/anon_cu_0.c:1:8: error: expected ';' after top level declarator this is not valid C code ^ ;

/__dffi_private/anon_cu_1.c:1:1: error: unknown type name 'still' still invalide code ^ /__dffi_private/anon_cu_1.c:1:15: error: expected ';' after top level declarator still invalide code ^ ;

. Description of my environment could be obtained here

aguinet commented 3 years ago

Can you please put all the PPC64 related issues into one single ticket?

advancedwebdeveloper commented 3 years ago

Will try

aguinet commented 3 years ago

Now in https://github.com/aguinet/dragonffi/issues/61