Errors generating compiler/parser/Parser.hs with Happy 1.16
under mingw
Ian Lynagh
igloo at earth.li
Sat Jul 21 18:24:18 EDT 2007
On Thu, Jul 19, 2007 at 08:57:36PM -0400, Peter Tanski wrote:
>
> Sorry, I forgot to attach the original Parser.hs file. Here it is:
Looks like the problem is before this point. You have a space before
#include "HsVersions.h"
when there shouldn't be one. In my log this file is built with:
c:/mingw/bin/gcc -E -mno-cygwin -undef -traditional -P -I../includes -x c parser/Parser.y.pp | \
grep -v '^#pragma GCC' > parser/Parser.y
so if you are using a different C compiler then perhaps the problem is
that its preprocessor works differently?
Thanks
Ian
More information about the Cvs-ghc
mailing list