From owner-freebsd-current@FreeBSD.ORG Sat Jul 19 02:32:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2942A37B401; Sat, 19 Jul 2003 02:32:59 -0700 (PDT) Received: from tuebingen.mpg.de (connect.tuebingen.mpg.de [192.124.26.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id D57A643FA3; Sat, 19 Jul 2003 02:32:57 -0700 (PDT) (envelope-from peter.kadau@tuebingen.mpg.de) Received: from [80.133.222.32] ([80.133.222.32] verified) by tuebingen.mpg.de (CommuniGate Pro SMTP 4.0.6) with ESMTP id 4980063; Sat, 19 Jul 2003 11:32:56 +0200 From: Peter Kadau To: LLeweLLyn Reese In-Reply-To: References: <20030718191649.GB84963@freefall.freebsd.org> <1058556984.32024.24.camel@straycat> Content-Type: text/plain Message-Id: <1058607176.23615.8.camel@straycat> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 19 Jul 2003 11:32:56 +0200 Content-Transfer-Encoding: 7bit cc: "Jacques A. Vidrine" cc: freebsd-current@freebsd.org Subject: Re: gcc-3.3 issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 09:32:59 -0000 Hi ! > http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/Warning-Options.html#Warning%20Options Hmm, that's exactly as in the info page. > http://gcc.gnu.org/onlinedocs/gcc-3.3/gcc/C---Dialect-Options.html#C++%20Dialect%20Options > and search for permissive, to see the condition Alexander speaks of. Well, here it is: -fpermissive Downgrade messages about nonconformant code from errors to warnings. By default, G++ effectively sets -pedantic-errors without -pedantic; this option reverses that. This behavior and this option are superseded by -pedantic, which works as it does for GNU C. I admit, I'm not a native speaker, so please correct me. Doesn't that mean, if you don't specify any pedantic, it defaults to -pedantic-errors for C++, but if you specify -pedantic, you don't get errors for warnings like it should be... ?? Cheers Peter