This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] gcc-4.6/porting_to.html
- From: Matthias Klose <doko at ubuntu dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Mar 2011 14:59:45 +0100
- Subject: Re: [wwwdocs] gcc-4.6/porting_to.html
- References: <20110316235130.1f44d808@shotwell>
On 17.03.2011 07:51, Benjamin Kosnik wrote:
>
> Needs some more work, here's a rough draft.
>
> -benjamin
+ <p>As a workaround, remove <code>-Werror</code> until the new warnings
+ are fixed, or for conversion warnings
+ add <code>-Wno-unused-but-set-variable</code>
+ or <code>-Wno-unused-but-set-parameter</code>.
+ </p>
what about recommending keeping -Werror and adding
-Wno-error=unused-but-set-variable or -Wno-error=unused-but-set-parameter?
Then the warnings remain, but don't cause an error.
Matthias