> While compiling some stuff with 4.00 I get the following
> output before compilation stops.
>
> [snip]
>
> GNU CPP version 2.7.2 (sparc)
> #include "..." search starts here:
> #include <...> search starts here:
> .
> /usr/local/ghc-4.00/lib/ghc-4.00/includes
> /usr/local/ghc-4.00/lib/ghc-4.00/includes
> /usr/local/include
> /usr/local/sparc-sun-solaris2.5/include
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include
> /usr/include
> End of search list.
> /usr/local/ghc-4.00/lib/ghc-4.00/includes/ClosureMacros.h:140:
> unterminated character constant
> /usr/local/ghc-4.00/lib/ghc-4.00/includes/StgMacros.h:87:
> unterminated string or character constant
>
> real 0.3
> user 0.2
> sys 0.0
> deleting... /tmp/ghc6070.cpp /tmp/ghc6070.hi /tmp/ghc6070.hc
> /tmp/ghc6070_stb.c /tmp/ghc6070_stb.h ghc6070.c ghc6070.s
> /tmp/ghc6070_o.s
>
> rm -f /tmp/ghc6070*
> make: *** [Result.o] Error 1
Are you passing any extra flags to GHC? Could you send a copy of the file
and a full transcript of the compilation with '-v' please.
Cheers,
Simon
--
Simon Marlow
Microsoft Research Ltd., Cambridge, U.K.