[wwwdocs] gcc-4.6/porting_to.html

Gerald Pfeifer gerald@pfeifer.com
Sun Nov 20 10:09:00 GMT 2011


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

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
-<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>



More information about the Gcc-patches mailing list