GHC driver behaviour switch

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Jun 22 10:06:37 EDT 2006


On Thu, 2006-06-22 at 17:54 +0300, kyra wrote:
> With GHC 6.4.x I was able to use a ghc driver to compile .cpp sources. 
> Now, with GHC HEAD I cannot. GHC HEAD now ALWAYS enforces "treat as .c" 
> option.

Just wondering, you're using ghc to compile C++ sources? Is there any
reason for doing that rather than using the C++ compiler directly?

Duncan



More information about the Glasgow-haskell-users mailing list