[Bug c++/47783] [4.6 Regression] Warning 'set but not used' [-Wunused-but-set-parameter] incorrectly issued for update through reference wrapper

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 17 14:56:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47783

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.02.17 14:32:03
            Summary|Warning 'set but not used'  |[4.6 Regression] Warning
                   |[-Wunused-but-set-parameter |'set but not used'
                   |] incorrectly issued for    |[-Wunused-but-set-parameter
                   |update through reference    |] incorrectly issued for
                   |wrapper                     |update through reference
                   |                            |wrapper
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-17 14:32:03 UTC ---
confirmed - no warning with 4.4 or 4.5



More information about the Gcc-bugs mailing list