public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19757] New: -Wparentheses doesn't warn anymore
@ 2005-02-02 14:16 oliverst at online dot de
2005-02-02 14:39 ` [Bug c++/19757] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: oliverst at online dot de @ 2005-02-02 14:16 UTC (permalink / raw)
To: gcc-bugs
If you compile the example from the GCC manual entry for "-Wparentheses"
as C++, you aren't getting any warnings about this. If you compile it a C code
everything warns fine.
I tried it with MinGW32 GCC 3.3.3, 3.4.2 and linux GCC 3.2 and none gave the
warning.
Specs of the linux GCC:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
The MinGW ones are the binaries distributed on www.mingw.net
--
Summary: -Wparentheses doesn't warn anymore
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: oliverst at online dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19757
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/19757] -Wparentheses doesn't warn anymore
2005-02-02 14:16 [Bug c++/19757] New: -Wparentheses doesn't warn anymore oliverst at online dot de
@ 2005-02-02 14:39 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-02 14:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-02 14:39 -------
*** This bug has been marked as a duplicate of 19756 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19757
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-02 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-02 14:16 [Bug c++/19757] New: -Wparentheses doesn't warn anymore oliverst at online dot de
2005-02-02 14:39 ` [Bug c++/19757] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).