[Haskell-cafe] Re: Small question
benjamin.franksen at bessy.de
Fri Aug 10 16:59:50 EDT 2007
Andrew Coppin wrote:
>>> Like that time yesterday, I compiled from program and got a weird
>>> about GHC about "ignored trigraphs" or something... What the heck is a
>> Everyone's favorite obscure feature of the ANSI C99 preprocessor.
>> Probably you had something like "this is odd???" in your source code,
>> and were using -cpp.
> Er... wow. OK, well I have no idea what happened there... (I'm not using
> -cpp. I don't even know what it is.) I had presumed GHC was upset
> because it got killed on the previous run... (I was running something
> else and it locked up the PC.)
Since you are after increasing your program's performance, maybe you are
using -fvia-c or chose an optimization level high enough that GHC decides
for itself to go via C. The message is very most probably from the C
compiler. You could try passing the C compiler an appropriate flag (see gcc
manual) via a ghc command line option (which I am too lazy to look up).
More information about the Haskell-Cafe