C2hs compilation error
Kenny Lu Zhuo Ming
luzm@comp.nus.edu.sg
Tue, 9 Jul 2002 02:56:54 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_0005_01C226F4.47FB9160
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Hi,=20
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=3D'-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?
Thanks in advance!
Kenny
------=_NextPart_000_0005_01C226F4.47FB9160
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When I try to compile my HS code with =
some open=20
source C code using C2HS 0.10.14, I encountered this error,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>c2hs =
--cppopts=3D'-I/home/luzm/sphinx2-0.4/include/=20
-pedantic' listener.h Listener.chs<BR>c2hs: Generic fatal =
error.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>/usr/include/gconv.h:172: (column 3)=20
[FATAL]<BR> >>> Syntax error!<BR> The symbol=20
`__extension__' does not fit here.<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Can someone tell me when it probably =
goes=20
wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Kenny</DIV></FONT></BODY></HTML>
------=_NextPart_000_0005_01C226F4.47FB9160--