I have the same issue an ubuntu 18.01 JNAerator 13

On Monday, June 29, 2015 at 10:19:34 PM UTC+2, Abhinav Jangda wrote:
>
> Hello all,
>
> I am JNAerating LLVM headers. And I am getting these errors:
>
> /usr/include/sys/cdefs.h:270:45: error: Unexpected operator ?
> /usr/include/sys/cdefs.h:270:61: error: missing ) in expression
> /usr/include/sys/cdefs.h:270:61: error: missing ) in expression
> /usr/include/sys/cdefs.h:270:61: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:60: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:61: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:61: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:71: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:73: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:73: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:85: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:85: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:86: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:86: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:87: warning: Unexpected nonwhite token
> /usr/include/sys/cdefs.h:270:87: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:31:52: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:31:52: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:31:52: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:31:52: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:33:52: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:33:52: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:33:52: warning: Unexpected nonwhite token
> /usr/include/bits/wchar.h:33:52: warning: Unexpected nonwhite token
> /usr/include/llvm/Support/DataTypes.h:43:1: error: #error "Must #define 
> __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
> /usr/include/llvm/Support/DataTypes.h:46:1: error: #error "Must #define 
> __STDC_CONSTANT_MACROS before "         "#including Support/DataTypes.h"
> /usr/include/c++/4.9.2/bits/c++0x_warning.h:11:18: error: #error This file 
> requires compiler and library support for the ISO C++ 2011 standard. This 
> support is currently experimental, and must be enabled with the -std=c++11 
> or -std=gnu++11 compiler options.
>
> My system has Fedora 21 with LLVM 3.5 and JNA 4.1.0. I tried the following 
> command option:
>
> java -jar jnaerator-0.12-shaded.jar -I/usr/include/llvm 
> -I/usr/include/c++/4.9.2/x86_64-redhat-linux/ -I/usr/include/linux -package 
> llvm -library /usr/include/llvm/Analysis/B*.h -mode Directory
>
> You can see that the jnaerator version is 0.12-shaded.
>
> Also, when I try with -std=c++11 option jnaerator gives me error.
>
> Please help me out here.
>
> Thanks,
>
> Abhinav
>

-- 
You received this message because you are subscribed to the Google Groups 
"NativeLibs4Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nativelibs4java+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to