From owner-freebsd-current@FreeBSD.ORG Fri Jan 9 22:12:59 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95C0A1065921 for ; Fri, 9 Jan 2009 22:12:59 +0000 (UTC) (envelope-from alexanderchuranov@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id C8B0E8FC0A for ; Fri, 9 Jan 2009 22:12:58 +0000 (UTC) (envelope-from alexanderchuranov@gmail.com) Received: by ewy14 with SMTP id 14so11684736ewy.19 for ; Fri, 09 Jan 2009 14:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=hQJOFL5P3yZ8xs1bQSGlzrTj7Qyg/jLW9y4PEAi1zXQ=; b=ETfLFSbg0yk7EFBZcEWisMx3twAOFBpZ7tRKEtOeXvXihFpSdi9B9S52+E0qoVCiFr 0Ml3/c27VU9kBQ9Yfx0VhRNPs+zhGfhkW6hZqwNBaTk+9uBbg0E19Hbc4jSFlpgmh26Q k/WSOLOtA+FKku6yOtzywxjVtLthe5XxHec5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=kwfZmWkKMxHwxI6pV6RVxQYC9JAf0kI8nElYPzshOPEC6T9QSci+DvUcRpnBbXDacp sAI7hx04YHjzLfxJzuhxXDXKO5pRWrs24Gr6kmXVBWPbHGBz47zMuwOl2OrenrzJZjuW 3/Gr5a00dfzqPTH45n0D1ZhnkxZ4/g3FIwfGg= Received: by 10.210.105.20 with SMTP id d20mr23605417ebc.142.1231539177958; Fri, 09 Jan 2009 14:12:57 -0800 (PST) Received: by 10.210.58.4 with HTTP; Fri, 9 Jan 2009 14:12:57 -0800 (PST) Message-ID: <3cb459ed0901091412o5861ec59web9b48d264ca053b@mail.gmail.com> Date: Sat, 10 Jan 2009 01:12:57 +0300 From: "Alexander Churanov" To: "Christoph Mallon" In-Reply-To: <49675F04.20006@gmx.de> MIME-Version: 1.0 References: <49668763.8020705@mail.zedat.fu-berlin.de> <20090108233311.GA69883@keltia.freenix.fr> <20090109031147.GB44317@duncan.reilly.home> <49672189.5060109@gmx.de> <20090109110508.GA12123@freebsd.org> <496751D1.20605@gmx.de> <20090109134725.GA38233@freebsd.org> <49675F04.20006@gmx.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Andrew Reilly , Roman Divacky , freebsd-current@freebsd.org, Ollivier Robert Subject: Re: gcc 4.3: when will it become standard compiler? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 09 Jan 2009 22:13:01 -0000 Folks, The '-std=c99'' only instructs GCC to allow the whole of C99. This is clearly not enough, because this mode allows too many GCC extensions. If you compile your code in "default' mode or just specify '-std=c99', then it's very likely that you will eventually get stuck to GCC. Using this approach you are reducing chances to switch to another C99 compiler. Though I am not aware of any other open source compiler supporting C99, I beleive that there is great need for it. This discussion indicates that there is real necessity for BSD-licensed C99 compiler. That's why I am always propagandizing the following: "-Wall -Werror -std=c99 -pedantic". To my mind, this helps to prepear your code for eventual switching to another standard-compliant compiler. Alexander