[Bug c++/82710] Incorrect warning:unnecessary parentheses in declaration of global friend functions [-Werror=parentheses]

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 25 11:15:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82710

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-10-25
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Richard is correct, and I picked the existing Wparenthesis warning to enable
it.  However, I think this is a false positive as Andi states.


More information about the Gcc-bugs mailing list