[project @ 2002-05-15 08:59:58 by chak]
authorchak <unknown>
Wed, 15 May 2002 09:00:00 +0000 (09:00 +0000)
committerchak <unknown>
Wed, 15 May 2002 09:00:00 +0000 (09:00 +0000)
commitde1d4a16d94fa13e9d40a1ac755eae6249595e66
treeecfc8c423ebaa35d2a67f22df40f7ebee2f05431
parentcccb6444f80ceb5adb36dbba2f1844b333a0e3f3
[project @ 2002-05-15 08:59:58 by chak]
* Added the options `-ffi' and `-fffi', which switch on FFI support
  (`-fglasgow-exts' implies `-fffi').

  NB: Strictly speaking `-fffi' is the correct name; however, `-ffi' is
      supported as an alternative spelling.

* `-fglasgow-exts' no longer enables the `with' keyword for implicit
  parameters.  To use `with' as a keyword, the additional option `-fwith' has
  to be supplied.  (Note that SimonM recently enabled the use of `let' instead
  of `with'.)

  NB: This might prompt some makefile tweaks in libraries or regression tests.

* Renamed `Foreign.Marshal.Utils.withObject' to `Foreign.Marshal.Utils.with'
  as required by the FFI Addendum.  (The old name is still available, but
  marked as deprecated.)

* Added `realloc' to `Foreign.Marshal.Alloc' (tracking RC4 of the FFI
  Addendum).

Docu
~~~~
* Added `-ffi', `-fffi', and `-fwith' to the flag reference and the section
  describing options for Glasgow extensions

* Removed most of the FFI section in the User's Guide in favour of a reference
  to the Addendum plus a brief description of additional features supported by
  GHC.

  NB: The old material is still available at fptools/docs/, I merely removed
  the reference in the User's Guide.
ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/HscMain.lhs
ghc/compiler/main/ParsePkgConf.y
ghc/compiler/parser/Lex.lhs
ghc/compiler/rename/RnHiFiles.lhs
ghc/docs/users_guide/ffi-chap.sgml
ghc/docs/users_guide/flags.sgml
ghc/docs/users_guide/glasgow_exts.sgml
ghc/docs/users_guide/ug-ent.sgml