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: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- Cc: "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 14:29:23 -0500
- Subject: Re: cc1: warning: unrecognized command line option "-Wno-narrowing"
- References: <4EB626CC.7040201@rtems.org>
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.
--
Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA
meissner@linux.vnet.ibm.com fax +1 (978) 399-6899