Bugs item #1175518, was opened at 2005-04-02 20:53 Message generated for change (Comment added) made by simonmar 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: Simon Marlow (simonmar) 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. ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2005-04-04 11:01 Message: Logged In: YES user_id=48280 Could you please attach or send the complete output from ghc, with the -v flag, when used to compile a simple test module with -fvia-C. Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175518&group_id=8032 _______________________________________________ Glasgow-haskell-bugs mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
