This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5520: There's a warning I miss with "if{} else{}" statement
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jbach1 at caramail dot com, nobody at gcc dot gnu dot org
- Date: 15 Sep 2002 19:11:49 -0000
- Subject: Re: c++/5520: There's a warning I miss with "if{} else{}" statement
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jbach1 at caramail dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: There's a warning I miss with "if{} else{}" statement
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sun Sep 15 12:11:48 2002
State-Changed-Why:
confirmed. gcc has such a warning.
To address carlo's point. Macros that expand to noexpression, are usually written as '((void)0)'
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5520