===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/porting_to.html,v
retrieving revision 1.5
@@ -60,10 +60,9 @@
without changing the result or logic of the surrounding code. If not,
annotate it with <code>__attribute__((__unused__))</code>.</p>
-<p>As a workaround, remove <code>-Werror</code> until the new warnings
-are fixed. For conversion warnings add
-<code>-Wno-unused-but-set-variable</code> or
-<code>-Wno-unused-but-set-parameter</code>.</p>
+<p>As a workaround, add
+<code>-Wno-error=unused-but-set-variable</code> or
+<code>-Wno-error=unused-but-set-parameter</code>.</p>
<h2>C++ language issues</h2>
On Wed, 12 Oct 2011, Gerald Pfeifer wrote: > For reference hre is the full patch that's now live on the system. And this take into account a suggestion by Matthias Klose (cf. http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01014.html ). Applied. Gerald