delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
Date: | Sun, 18 Oct 2015 23:45:53 -0400 |
Message-Id: | <201510190345.t9J3jrhn012372@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | geda-user AT delorie DOT com |
In-reply-to: | |
<CAC4O8c9rjGEsy6NP8kFz5jKRy51NOndbhU37gUa_Om70qbxVKg AT mail DOT gmail DOT com> | |
(geda-user AT delorie DOT com) | |
Subject: | Re: [geda-user] does anyone like -Wdeclaration-after-statement |
References: | <CAC4O8c9rjGEsy6NP8kFz5jKRy51NOndbhU37gUa_Om70qbxVKg AT mail DOT gmail DOT com> |
Reply-To: | geda-user AT delorie DOT com |
> I find it annoying because you cant just start work in middle of function > without producing a bunch of spurious warnings. > > It promotes bad style too because redundancy between declarations and point > of use, and forces use of bogus initializers, inefficient and/or redundance > initializers or no initialize more often. It also stops you from writing code that can only be compiled with gcc :-)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |