Hi guys,
Presumably as one of the gcc 3.3 changes, cpp now treats all '\'s at the
end of a line as a line continuation character (at least I imagine
that's what is happening, but it doesn't seem to be actually eating a
'\n').
This means that when Helium says
infixl 9 \\
in ../../lvm/src/li
You need 6.0.1 This bug is a famous problem with 6.0
I'm glad it's otherwise solid!
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
| Behalf Of Julian Seward
| Sent: 03 September 2003 16:35
| To: [EMAIL PROTECTED]
| Subject: A bug in GHC 6.0 (unbelieveable, I
[EMAIL PROTECTED]:~/SCG/scg$ ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.0, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\/\/ /_/\/|_| Type :? for help.
Loading package base ... linking ... done.
Prel
> When linking a program with Haskell Code (also the main program),
> and interfacing to C functions (a lib*.a C++ application
> library is also combined),
> the following error occurs:
>
> c:/ghc/ghc-6.0/libHSrts.a(Main.o)(.text+0x86):Main.c:
> undefined reference to
> `__stginit_Main'
> c:/g
> ghc -c Ghcbug.hs
> c:\ghc\ghc-5.04\bin\ghc.exe: panic! (the `impossible' happened, GHC
> version 5.04):
> expectJust tyConDataCons
>
> Please report it as a compiler bug to
> [EMAIL PROTECTED],
> or http://sourceforge.net/projects/ghc/.
>
> Ghcbug.hs:
> --
> modu
> From libraries/base/cbits/inputReady.c:
>
> tv.tv_sec = msecs / 1000;
> tv.tv_usec = msecs % 1000;
>
> This should be (msecs % 1000) * 1000, right? usec stands for
> microseconds.
> See http://www.haskell.org/onlinereport/io.html#sect21.9.1.
Fixed, thanks.
Cheers,
Simon
ghc -c Ghcbug.hs
c:\ghc\ghc-5.04\bin\ghc.exe: panic! (the `impossible' happened, GHC
version 5.04):
expectJust tyConDataCons
Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.
Ghcbug.hs:
--
module O where
type O a = Ord a =