
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
1) I should enable -cpp specifically for this file or globally for all of yhc, or just for packages/. (I'm not entirely sure how to get scons to do this but I need to take time and read the scons docs.)
I think this is the easiest one to do. I'd enable it for all packages/ in the scons script - compiling the other packages with -cpp is unlikely to be an issue. Andrew can probably advise about the scons side of things.
I would think that nowadays the appropriate way to specify this is to put {-# LANGUAGE CPP #-} at the beginning of each file that needs it? see http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html#languag... "This allows language extensions to be enabled in a portable way. It is the intention that all Haskell compilers support the LANGUAGE pragma with the same syntax, although not all extensions are supported by all compilers, of course." ... Isaac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFlQvTHgcxvIWYTTURAsvLAKCev7dfCj2ZPEMWMtDR2eSG69euvACdFVTD KgPNH/5+Efj38niJkOB73jU= =bvga -----END PGP SIGNATURE-----