[project @ 1999-10-31 15:35:32 by sof]
authorsof <unknown>
Sun, 31 Oct 1999 15:35:32 +0000 (15:35 +0000)
committersof <unknown>
Sun, 31 Oct 1999 15:35:32 +0000 (15:35 +0000)
commitaba5a247c8911531630003569a2d5355ecf1a599
tree14347f867d4397783f27d95efd4a5da91c261bd7
parent047d053725b171b301fe6edae803ed3612a7bff0
[project @ 1999-10-31 15:35:32 by sof]
To workaround gcc/egcs bugs re: handling of non-toplevel "extern" decls,
lift them out to the top. i.e., extend mechanism by which "typedefs"
are lifted out to the toplevel (for the same reasons) to also encompass
"extern"s.

Note: the default is not to emit an "extern" decl for every _ccall_,
as this runs the chance of (trivially) conflicting with header file
includes. So, to enable, use -optC-femit-extern-decls.
ghc/compiler/absCSyn/AbsCSyn.lhs
ghc/compiler/absCSyn/AbsCUtils.lhs
ghc/compiler/absCSyn/CallConv.lhs