Preprocessors
Ketil Malde
ketil+haskell at ii.uib.no
Wed Oct 20 07:58:38 EDT 2004
"Simon Marlow" <simonmar at microsoft.com> 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 at haskell.org 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interlude.tar.gz
Type: application/x-gzip
Size: 709 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20041020/a2f107a4/interlude.tar.bin
-------------- next part --------------
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
More information about the Glasgow-haskell-bugs
mailing list