clang warnings

Austin Seipp austin at well-typed.com
Mon Jun 23 20:06:33 UTC 2014


Hi Mark,

I've already merged two changesets into 7.8.3 -
https://github.com/ghc/ghc/commit/52222f9e0bedc9b08b46619f8ed4d09f645d6ed4
and https://github.com/ghc/ghc/commit/fd4169f9caf6922e3e5ea9c31f497f7220fc62b8
- which add -Qunused-arguments to the C compiler invocation if the
compiler is Clang. The GHC but is #9047

(The problem was Clang will ignore a lot of the flags we pass in the
assembler stage, since it will be used as the assembler). So I don't
think a workaround will be needed.

On Mon, Jun 23, 2014 at 3:04 PM, Mark Lentczner
<mark.lentczner at gmail.com> wrote:
> I'm the source of ghc-clang-wrapper. I can add "-Qunused-arguments" easily
> enough.
>
> I just last night ran across the spaces problem - and I'm not entirely sure
> the bug is in ghc-clang-wrapper! I'll investigate... turns out all you need
> to do is try to compile something that is in a directory with spaces in it.
>
> - Mark
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/


More information about the ghc-devs mailing list