From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21428 invoked by alias); 7 Apr 2004 18:38:08 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21398 invoked by uid 48); 7 Apr 2004 18:38:04 -0000 Date: Wed, 07 Apr 2004 18:38:00 -0000 From: "boris at kolpackov dot net" To: gcc-bugs@gcc.gnu.org Message-ID: <20040407183800.14881.boris@kolpackov.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14881] New: erroneous diagnistic, enabled by deafult, no way to disable X-Bugzilla-Reason: CC X-SW-Source: 2004-04/txt/msg00662.txt.bz2 List-Id: $ 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