I'm trying to use interrogate/parse_file on linux to parse wxWidgets-3.2.9 and I'm getting this error:
/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h:321:24: error: syntax error, unexpected wchar_t
typedef __WCHAR_TYPE__ wchar_t;
^~~~~~~
Error in parsing.
I've created a file with:
typedef int wchar_t;
wchar_t a=3;
and I'm getting this:
/tmp/pp.c:1:13: error: syntax error, unexpected wchar_t
typedef int wchar_t;
^~~~~~~
Error in parsing.
It seems that 'wchar_t' is predefined as a keyword, gcc parses it without any error.
I'm trying to use interrogate/parse_file on linux to parse wxWidgets-3.2.9 and I'm getting this error:
I've created a file with:
and I'm getting this:
It seems that 'wchar_t' is predefined as a keyword, gcc parses it without any error.