Sven Panne <[EMAIL PROTECTED]> writes:

   > 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.

Thanks, Sven.  I got the idea now.
I think you missed one though: patch attached below.

Cheers, Jens


Index: Main.hs
===================================================================
RCS file: /cvs/fptools/ghc/driver/Main.hs,v
retrieving revision 1.14
diff -u -r1.14 Main.hs
--- Main.hs     2000/06/25 19:17:57     1.14
+++ Main.hs     2000/06/27 13:53:09
@@ -51,7 +51,7 @@
 -----------------------------------------------------------------------------
 -- non-configured things
 
-_Haskell1Version = "5" -- i.e., Haskell 98
+cHaskell1Version = "5" -- i.e., Haskell 98
 
 -----------------------------------------------------------------------------
 -- Usage Message
@@ -200,7 +200,7 @@
        -- Cpp-related flags
 GLOBAL_VAR(cpp_flag, False, Bool)
 hs_source_cpp_opts = global
-       [ "-D__HASKELL1__="++_Haskell1Version
+       [ "-D__HASKELL1__="++cHaskell1Version
        , "-D__GLASGOW_HASKELL__="++cProjectVersionInt                          
        , "-D__HASKELL98__"
        , "-D__CONCURRENT_HASKELL__"

Reply via email to