Bugs item #1175518, was opened at 2005-04-02 20:53 Message generated for change (Settings changed) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1175518&group_id=8032
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compiler Group: None >Status: Closed 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-07-06 12:30 Message: Logged In: YES user_id=48280 No followup from submitter, and we know that GHC 6.4 works fine on FreeBSD 5.3. Perhaps a non-GCC C compiler was being used. ---------------------------------------------------------------------- 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 Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs