X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=VoeyXiui9+P5UXipnz4DEojko+jKxMkW8zpFEZvwtQw=; b=KFKk3KCMZMSPe/ByeT672hpcn9aCXUVlhql4WQ1SmcdfksbiM2MnOzGGUoLjAaPJzR MPRbNbI4n/LVoanUwE7HQuQJCvWh2jEIZD1k9HE1kAhMuXagxCAbkegi+mI8hGWsQaC+ uGwmfRhTG/aK1MGHk+tt6umc2zt7yD0fnodBOphwhqNMRStN2Nv8H6mDl7zgY+w4wOYU VOIbjnoKyD2Rf6XkhR0q2J20m0VP203IHbQxuKwB7REoaZXi9J3B/XS6EGxBuRxaI73I TQVkisQCjKnnCO2jlEY8YjeXs82PYzOc7xrcnFtj6HtEmKN6dbUH9hIafZRgBCcSUUTa ruGw== X-Received: by 10.25.39.76 with SMTP id n73mr1767783lfn.60.1445364428937; Tue, 20 Oct 2015 11:07:08 -0700 (PDT) Date: Tue, 20 Oct 2015 21:07:06 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" Subject: [geda-user] C99 Message-ID: <20151020180706.GC16826@localhost.localdomain> Mail-Followup-To: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" References: <20151019205802 DOT GA6798 AT recycle DOT lbl DOT gov> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20151019205802.GA6798@recycle.lbl.gov> User-Agent: Mutt/1.5.23 (2014-03-12) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, Oct 19, 2015 at 01:58:02PM -0700, Larry Doolittle wrote: > Friends - > > On Mon, Oct 19, 2015 at 12:31:35PM -0800, Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > > As for me, I always use -Wall enabled, it really helps write reliable > > > code (and frequently brokes compilation of some projects :-). > > My too. I also use -Wextra. Neither of those imply > > -Wdeclaration-after-statement, > > it's that unpopular. I like to use -Werror as well and pcb is pretty close > > to clean enough > > -O2 -Wall -Wextra -Wshadow -pedantic --std=c99 > > and the --std=c99 part explicitly allows declarations after statements. > I don't know what to suggest if a compiler doesn't follow an ISO standard > 16 years after it's published. Probably I have an opportunity to ask a question about the C99 standard :) Are any issues mentioned at [1] still relevant? Could any issues appear if we start to support it? Thanks, Vladimir [1] http://www.kuro5hin.org/story/2001/2/23/194544/139