This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/81364] Bogus -Wmultistatement-macros warning
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jul 2017 11:00:45 +0000
- Subject: [Bug preprocessor/81364] Bogus -Wmultistatement-macros warning
- Auto-submitted: auto-generated
- References: <bug-81364-4@http.gcc.gnu.org/bugzilla/>
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 '{'.