Duncan Coutts wrote:
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
The first and foremost reason - Cabal build infrastructure.

I just put all my C++ sources in a "c-sources" section of my project. That's all.

Kyra
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to