logo       

Re: Preprocessors: msg#00048

lang.haskell.glasgow.bugs

Subject: Re: Preprocessors


"Simon Marlow" <simonmar@xxxxxxxxxxxxx> writes:

> Could you provide more details: platform, GHC & GCC versions, and sample
> code that exhibits the problem. Probably best to move this to
> glasgow-haskell-bugs@xxxxxxxxxxx too.

I attached the code. It is basically a small .h-file I'm including
in order to get better diagnostics for simple prelude functions. I
haven't tried dissecting it to see if the problem is some particular
construct inside it.

Attachment: interlude.tar.gz
Description: GNU Zip compressed data


Compiling test.hs gives me:

$ ghc -c -cpp test.hs
test.hs:6: Variable not in scope: `head'

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.2.1
$ uname -a
Linux sefirot 2.6.3-gentoo-r1 #2 Sat Mar 13 09:28:54 CET 2004 i686
Intel(R) Pentium(R) III Mobile CPU 1133MHz GenuineIntel GNU/Linux

$ gcc --version
gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Let me know if there's anything else I can do.

-kzm
--
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise