[wwwdocs] gcc-4.6/porting_to.html

Message ID alpine.LFD.2.02.1111191757510.2265@gerinyyl
State New
Headers show

Commit Message

Gerald Pfeifer Nov. 20, 2011, 2:03 a.m.
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 ).




Index: porting_to.html
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/porting_to.html,v
retrieving revision 1.5
diff -u -r1.5 porting_to.html
--- porting_to.html	15 Nov 2011 13:38:24 -0000	1.5
+++ porting_to.html	19 Nov 2011 16:56:39 -0000
@@ -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
+<p>As a workaround, add 
+<code>-Wno-error=unused-but-set-variable</code> or
 <h2>C++ language issues</h2>