public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14881] New: erroneous diagnistic, enabled by deafult, no way to disable
@ 2004-04-07 18:38 boris at kolpackov dot net
2004-04-07 19:23 ` [Bug c++/14881] erroneous diagnostic, " pcarlini at suse dot de
2004-04-07 19:30 ` [Bug c++/14881] erroneous diagnistic, " pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: boris at kolpackov dot net @ 2004-04-07 18:38 UTC (permalink / raw)
To: gcc-bugs
$ cat >w.cxx
class c
{
static void f ();
public:
static bool const r = true;
};
$ g++ --version
g++ (GCC) 3.3.3 (Debian)
$ g++ -c w.cxx
w.cxx:2: warning: all member functions in class `c' are private
This diagnostic is wrong, it is turned on by default (which I believe
is a bad thing to do for this kind of warnings) and there seems to be
no way to disable it (at least I couldn't find).
thanks,
-boris
--
Summary: erroneous diagnistic, enabled by deafult, no way to
disable
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: boris at kolpackov dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-gnu-linux
GCC host triplet: i686-pc-gnu-linux
GCC target triplet: i686-pc-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14881
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/14881] erroneous diagnostic, enabled by deafult, no way to disable
2004-04-07 18:38 [Bug c++/14881] New: erroneous diagnistic, enabled by deafult, no way to disable boris at kolpackov dot net
@ 2004-04-07 19:23 ` pcarlini at suse dot de
2004-04-07 19:30 ` [Bug c++/14881] erroneous diagnistic, " pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pcarlini at suse dot de @ 2004-04-07 19:23 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|erroneous diagnistic, |erroneous diagnostic,
|enabled by deafult, no way |enabled by deafult, no way
|to disable |to disable
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14881
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/14881] erroneous diagnistic, enabled by deafult, no way to disable
2004-04-07 18:38 [Bug c++/14881] New: erroneous diagnistic, enabled by deafult, no way to disable boris at kolpackov dot net
2004-04-07 19:23 ` [Bug c++/14881] erroneous diagnostic, " pcarlini at suse dot de
@ 2004-04-07 19:30 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-07 19:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-07 19:30 -------
This is a dup of bug 9257 which is fixed in 3.4.0.
*** This bug has been marked as a duplicate of 9257 ***
*** This bug has been marked as a duplicate of 9257 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|erroneous diagnostic, |erroneous diagnistic,
|enabled by deafult, no way |enabled by deafult, no way
|to disable |to disable
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14881
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-07 19:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 18:38 [Bug c++/14881] New: erroneous diagnistic, enabled by deafult, no way to disable boris at kolpackov dot net
2004-04-07 19:23 ` [Bug c++/14881] erroneous diagnostic, " pcarlini at suse dot de
2004-04-07 19:30 ` [Bug c++/14881] erroneous diagnistic, " 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).