[project @ 1998-02-25 19:48:54 by sof]
Interface file version checking support. Added a compiler version field to the interface file header. The format is now _interface_ <IfaceName> <ModuleVersion> <CompilerVersion> where the compiler version follow the value of $(ProjectVersionInt). Any mismatch in version numbers causes the renamer to give up. A compiler version number of 0 means turn off version checking (used by PrelGHC.hi to avoid having to update every time we release.) .hi-boot files are treated specially, the absence of a compiler version number in the header is taken to mean that there was a `0'. Need to do this since hsc's .hi-boot files have to also be useable by versions of the compiler that don't grok version info in interface files (e.g., ghc-2.10.)
Showing
- ghc/compiler/Makefile 3 additions, 2 deletionsghc/compiler/Makefile
- ghc/compiler/basicTypes/SrcLoc.lhs 6 additions, 1 deletionghc/compiler/basicTypes/SrcLoc.lhs
- ghc/compiler/main/MkIface.lhs 5 additions, 4 deletionsghc/compiler/main/MkIface.lhs
- ghc/compiler/reader/Lex.lhs 33 additions, 1 deletionghc/compiler/reader/Lex.lhs
- ghc/compiler/rename/ParseIface.y 11 additions, 8 deletionsghc/compiler/rename/ParseIface.y
- ghc/compiler/rename/Rename.lhs 6 additions, 4 deletionsghc/compiler/rename/Rename.lhs
- ghc/driver/ghc-iface.lprl 3 additions, 3 deletionsghc/driver/ghc-iface.lprl
- ghc/lib/std/PrelGHC.hi-boot 1 addition, 1 deletionghc/lib/std/PrelGHC.hi-boot
Loading
Please register or sign in to comment