C2hs compilation error

Manuel M T Chakravarty chak@cse.unsw.edu.au
Fri, 12 Jul 2002 17:46:14 +1000 (EST)


Kenny,

> When I try to compile my HS code with some open source C code using C2HS 0.10.14, I encountered this error,
> 
> c2hs --cppopts='-I/home/luzm/sphinx2-0.4/include/ -pedantic' listener.h Listener.chs
> c2hs: Generic fatal error.
> 
> /usr/include/gconv.h:172: (column 3) [FATAL]
>   >>> Syntax error!
>   The symbol `__extension__' does not fit here.
> 
> Can someone tell me when it probably goes wrong?

__extension__ is a GNU C extension keyword, which c2hs
didn't recognise at all positions where it can appear.
Please try again with version 0.10.15 that you can find on
the c2hs web site.

Cheers,
Manuel