[Bug c/62184] [C/C++] Extend -Wempty-body to 'while' loops

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 15 23:22:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |easyhack
           Severity|normal                      |enhancement

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
If we can warn precisely about misleading indentation, surely we can warn here
as well as clang does.


More information about the Gcc-bugs mailing list