George Russell <[EMAIL PROTECTED]> writes:
> 
> I get the following error (on a Solaris box, latest sources 
> of everything):
> 
> ../../ghc/driver/ghc-inplace -fglasgow-exts -Rghc-timing 
> -H16m -Wall -recomp -static    -H30m -c MarshallAuto.lhs -o 
> MarshallAuto.o -osuf o
> ghc-inplace: ignoring heap-size-setting option (-H16m)...not 
> the largest seen
> 
> MarshallAuto.lhs:215: Variable not in scope: `auto_vt'
> 

oops, I fixed this one a week ago but forgot to commit. I've done
so now; small patch appended. thanks for the report.

--sigbjorn

*** MarshallAuto.lhs    1999/10/14 19:29:46     1.35
--- MarshallAuto.lhs    1999/11/01 11:11:19
***************
*** 213,217 ****
--- 213,219 ----
     (Name nm mod _ (Just Enum{}) _) -> Just $ mkTyConst $ mkQualName mod
(mkHaskellTyConName nm)
     (Name _ _ _ (Just orig_ty) _)   -> mbAutoTypeToHaskellTy pkind orig_ty
+ {- BEGIN_SUPPORT_TYPELIBS
     (Name _ _ _ _ (Just ti)) | isJust (auto_vt ti) -> Just $ mkAutoTyConst
(auto_type ti)
+    END_SUPPORT_TYPELIBS -}
     Name{}                          -> Nothing
     Pointer _ ty                    -> mbAutoTypeToHaskellTy pkind ty
*** Makefile    1999/10/10 18:35:41     1.40
--- Makefile    1999/11/01 11:12:37
***************
*** 17,22 ****

  SRC_HC_OPTS      = -fglasgow-exts -Rghc-timing -H16m -Wall -recomp -static
- #SRC_HC_OPTS      = -syslib posix -syslib misc -syslib exts -Rghc-timing
-H16m -W -recomp
- #SRC_HC_OPTS     = -syslib ghc -Rghc-timing -H16m -W -recomp -syslib posix
  Parser_HC_OPTS    = -H40m -Onot -fglasgow-exts -cpp -DBEGIN_GHC_ONLY='-}'
-DEND_GHC_ONLY='{-' -K2m -dcore-lint
  OmgParser_HC_OPTS = -H40m -Onot -fglasgow-exts -cpp -DBEGIN_GHC_ONLY='-}'
-DEND_GHC_ONLY='{-' -K2m -dcore-lint
--- 17,20 ----
***************
*** 32,35 ****
--- 30,34 ----
  Desugar_HC_OPTS += $(Typelib_opts)
  TypeInfo_HC_OPTS += $(Typelib_opts)
+ MarshallAuto_HC_OPTS += $(Typelib_opts)
  SRC_HC_OPTS += -L../lib

Reply via email to