This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cc1: warning: unrecognized command line option "-Wno-narrowing"
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, Ralf Corsepius <ralf dot corsepius at rtems dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Joel Sherrill <joel dot sherrill at oarcorp dot com>, Jason Merrill <jason at redhat dot com>, Paolo Carlini <paolo dot carlini at oracle dot com>
- Date: Tue, 8 Nov 2011 20:08:35 +0000
- Subject: Re: cc1: warning: unrecognized command line option "-Wno-narrowing"
- References: <4EB626CC.7040201@rtems.org> <20111108192922.GB30061@meissner-tiger.homedns.org>
On 8 November 2011 19:29, Michael Meissner wrote:
> On Sun, Nov 06, 2011 at 07:18:52AM +0100, Ralf Corsepius wrote:
>> Hi,
>>
>> Since recently, I am facing several of the warnings above when
>> building GCC-trunk cross for RTEMS targets.
>>
>> So far, not much clues about what is going on, except that I see
>> -Wno-narrowing were recently added to
>> gcc/configure.ac and libcpp/configure.ac.
>
> FWIW, I'm seeing it also when I'm building on x86_64 RHEL 6.1 targeting
> powerpc64-linux, so I suspect it is a cross compiler issue, but I haven't
> checked it in detail.
I saw it on a native build, possibly netbsd, but I ignored it as I was
in the middle of something. Will keep an eye out for it again.