
I was able to get around this error by defining __attribute__ away in my .hsc file, but now I am getting the following error: c2hs.exe: Error in C header file. /usr/include/cygwin/signal.h:56: (column 4) [FATAL]
Syntax error! The symbol `;' does not fit here.
The portion of signal.h it does like is: struct _sigcommune { __uint32_t _si_code; void *_si_read_handle; void *_si_write_handle; void *_si_process_handle; union { int _si_fd; void *_si_pipe_fhandler; char *_si_str; }; <---- this is what it is complaining about }; It appears that the c2hs Parser does not like this form? Regards, Rich
I'm trying to use c2hs on Cygwin to build hsgnutls and am running into some problems.
I get the following error:
c2hs.exe: Error in C header file.
/usr/include/sys/reent.h:182: (column 12) [FATAL]
Syntax error! The symbol '__attribute__' does not fit here.