Syntax errors in HsBase.h when using -fvia-c
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.
Trac metadata
Trac field |
Value |
Version |
None |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedNoReason |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|