RE: can't compile ghc from cvs

2000-06-26 Thread Julian Seward (Intl Vendor)


I think it's a legitimate problem with the new driver.  I hit it myself
on Friday.  I think that the _Capitalised entity naming scheme is
being misinterpreted by pre-4.07 ghc's.

... and I see that Sven has already fixed it.  Cool.

J




Re: can't compile ghc from cvs

2000-06-25 Thread Sven Panne

Jens-Ulrik Petersen wrote:
 For some time I haven't been able to compile ghc from cvs. [...]
 What's going wrong? [...]
 Config.hs:2: Data constructor not in scope: `_ProjectName' [...]

Until recently (including 4.06) GHC confused variables having names
starting with an underscore followed by an uppercase letter with
data constructors. This has been fixed for 4.07, but as people are
supposed to be able to build 4.07 with pre-4.07 compilers, I'll change
those identifiers in the driver sources with something more defensive.
The commit will follow soon...

Cheers,
   Sven




Re: can't compile ghc from cvs

2000-06-25 Thread Sven Panne

Sven Panne wrote:
 [...] This has been fixed for 4.07, but as people are supposed to be
 able to build 4.07 with pre-4.07 compilers, I'll change those
 identifiers in the driver sources with something more defensive.

I've just realised that this is not the true story. You *can* build
4.07 with =4.06, but not the CVS version with anything 4.07. But
I'll fix it anyway.

Cheers,
   Sven