Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 20:52:27 +0200
From:      Niclas Zeising <niclas.zeising@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: -Qunused-parameter and clang (was Re: GHC Port on 9-CURRENT)
Message-ID:  <4E0A22EB.8020200@gmail.com>
In-Reply-To: <4E0A2172.7000800@daemonic.se>
References:  <4E0679AA.20100@shadowsun.net> <4E06863F.7010104@FreeBSD.org> <4E0A2172.7000800@daemonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-06-28 20:46, Niclas Zeising wrote:
> Sorry for hijacking this thread, and cross posting.
> 
> On 2011-06-26 03:07, Gabor PALI wrote:
>>
>>
>>> With Clang, an error occurs in one of the configure scripts, because
>>> Clang warns about unused command-line arguments, and the configure
>>> script assumes that to be a compiler error.  You can deal with this by
>>> adding -Qunused-parameter to CFLAGS.
>>
>> Thanks for investigating this.
>>
> 
> This should probably be made the default, at least for ports when clang
> is compiled, since the output generated when not using
> -Qunused-parameter confuses configure scripts, and stops at least
> FireFox 5 from compiling, that I know of.
> 
> Regards!

Hm. I'm thinging about -Qunused-arguments, nothing else! Sorry for the
confusion!
Regards!
-- 
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E0A22EB.8020200>