This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Wconversion-sign
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 18 Mar 2007 20:21:07 +0000 (UTC)
- Subject: Re: PATCH: Wconversion-sign
- References: <6c33472e0703181300l1595ace1g91fef2d374e3ced9@mail.gmail.com>
On Sun, 18 Mar 2007, Manuel López-Ibáñez wrote:
> Therefore, the current patch moves signed<->unsigned conversions from
> -Wconversion to a new option -Wconversion-sign. Warnings for a
I'd rather keep the specification of -Wconversion (the C option, I'll
leave the C++ defaults to others) simple and allow -Wno-conversion-sign to
disable these warnings.
--
Joseph S. Myers
joseph@codesourcery.com