[Bug c/81448] False positive -Werror=multistatement-macros in openssl

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 14 16:12:00 GMT 2017


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
To me it seems the warning is doing what it should here, simply wrapping the
body of the for loop into {} should fix it.


More information about the Gcc-bugs mailing list