[ ghc-Bugs-1175518 ] Syntax errors in HsBase.h when using -fvia-c
SourceForge.net
noreply at sourceforge.net
Sat Apr 2 15:53:41 EST 2005
Bugs item #1175518, was opened at 2005-04-02 12:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175518&group_id=8032
Category: Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Syntax errors in HsBase.h when using -fvia-c
Initial Comment:
When compiling any file with -fvia-c I get:
/usr/local/lib/ghc-6.4/include/HsBase.h:219: error: syntax error before "int"
/usr/local/lib/ghc-6.4/include/HsBase.h:220: error: syntax error before "void"
/usr/local/lib/ghc-6.4/include/HsBase.h:223: error: syntax error before "int"
...
...
That's probably because the INLINE keyword is not part of the ANSI C standard.
The system I'm running is FreeBSD 5.3 on i386.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175518&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list