This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/81364] Bogus -Wmultistatement-macros warning


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
C++ doesn't warn.  The problem is that we shouldn't warn (in the C FE) when a
guard is followed by '{'.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]