RFC: "Native -XCPP" Proposal

Erik de Castro Lopo mle+hs at mega-nerd.com
Thu May 7 08:20:51 UTC 2015

Howard B. Golden wrote:

> At the risk of antagonizing some (most? all?) of you, how about...
> -XCPP stands for the native CPP
> -XGNUCPP stands for GNU's GCC CPP
> -XClangCPP stands for Clang's CPP
> -XCPPHS stands for CPPHS

Oh please no!

If someone releases a package on Hackage that uses -XGNUCPP,
that will likely break on OSX because on OSX, gcc is actually

> ... with the hope that TH is the future?

I suspect there will always be things that CPP does better
than TH. What we need is a better CPP.

Erik de Castro Lopo

More information about the ghc-devs mailing list