Simon Marlow wrote:
> AFAICT, GHC on Windows has always done this quoting, the change was
> to make GHC on Unix do it too. [...]

Well, after some investigation of GHC's history, I came to the
conclusion that quoting for -D and -U options on *nix has been a
special case in pre-6.0 GHCs: -DFOO=BAR was passed as -D'FOO=BAR', but
as "-DFOO=BAR" on WinDoze. The latter done on all platforms now, which
is not very nice, but at least consistent. So I surrender and I will
adapt my Makefile (as soon as I have a new GHC ready).

Text substitution as a parameter passing mechanisms REALLY sucks...

Cheers,
   S.


_______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to