From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26459 invoked by alias); 13 Jan 2008 16:43:59 -0000 Received: (qmail 26449 invoked by uid 22791); 13 Jan 2008 16:43:58 -0000 X-Spam-Check-By: sourceware.org Received: from ns2.uludag.org.tr (HELO uludag.org.tr) (193.140.100.220) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 13 Jan 2008 16:43:39 +0000 Received: from ninjamobile.local (unknown [85.97.18.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by uludag.org.tr (Postfix) with ESMTP id DCCC661F5484; Sun, 13 Jan 2008 18:43:29 +0200 (EET) From: Ismail =?utf-8?q?D=C3=B6nmez?= To: gcc@gcc.gnu.org Subject: Re: Changes in C++ FE regarding pedwarns to be errors are harmful Date: Sun, 13 Jan 2008 16:45:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20071204.744707) Cc: Gabriel Dos Reis , Manuel =?utf-8?q?L=C3=B3pez-Ib=C3=A1=C3=B1ez?= References: <200801082328.22849.ismail@pardus.org.tr> <200801131734.42932.ismail@pardus.org.tr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801131845.04664.ismail@pardus.org.tr> X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg00186.txt.bz2 Sunday 13 January 2008 18:40:25 tarihinde Gabriel Dos Reis =C5=9Funlar=C4= =B1 yazm=C4=B1=C5=9Ft=C4=B1: > | real life testcase shows that problem stems from > | autoconf and its config.h. Projects end up defining things like > | HAVE_STDLIB_H twice which is not harmful at all but now causes an error > | if g++ is used. > > The problem is that any semantics of the above -- that is not an error > or silent ignorance -- is order-dependent, which is worse to debug. True but lots of real world applications are falling apart, is it worth to= =20 break them all anyway? Also with -pedantic you will still get an error. I=20 think its a good compromise. Regards, ismail --=20 Never learn by your mistakes, if you do you may never dare to try again.