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=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=bU8mC1q6UF5AU8zw3BzemWLj9m7kYUgNol+98JJAt0k=; b=jfXDNlL3Gv5DP7WM3sUvsB4J4Ltr0S40cEE4qyaTMYzHuaCZAnK4UAIdvTJdTRWkwj eBCIHYe1uXYv688Jz/GQkdtrljVlThu2HL6TT+UYGp52TSs762Yb3Jp1yP3koboVyWdq pzGkbwj2xXijbHi3cdCrWJxtz7o+HiUzfy83K83oi3mSkJJGi63e6H3SpkmvlrPF4zYA ZIRq0Ffk2Xl8SZrc+sJhl8EUZzUVEWqXoK2h60bIF1dryc5U2cb797szG+YGqsMrNX2q CrB47je0hbl14mZHkfA27kSHcpZxlPbNeVv5oK9DnQbhg5qFNcKhn0095pyTvim49uB2 BJEg== MIME-Version: 1.0 X-Received: by 10.194.8.227 with SMTP id u3mr36041783wja.38.1445286695875; Mon, 19 Oct 2015 13:31:35 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Oct 2015 12:31:35 -0800 Message-ID: Subject: Re: [geda-user] does anyone like -Wdeclaration-after-statement From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=047d7b5d9c071b412c05227b08f7 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 --047d7b5d9c071b412c05227b08f7 Content-Type: text/plain; charset=UTF-8 On Sun, Oct 18, 2015 at 10:59 PM, Sergey Stepanov (no DOT such DOT process AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > you cant just start work in middle of function > > IMHO If you are going to start work in the middle of function, you'd > better stop, look around and start another function. > Function is a not just a piece of code, it's a piece of code that you > can test with testbenches :-) > Yes, but when you're instrumenting things to sort out how they work it's convenient > 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 --047d7b5d9c071b412c05227b08f7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Oct 18, 2015 at 10:59 PM, Sergey Stepanov (no DOT such DOT process AT gmail DOT com) [via geda-user AT delorie DOT com] <= ;geda-user AT delor= ie.com> wrote:
>=C2=A0 you cant just start work in middle of function

IMHO If you are going to start work in the middle of function, you&#= 39;d
better stop, look around and start another function.
Function is a not just a piece of code, it's a piece of code that you can test with testbenches :-)

Yes, but when you're instrumenting things to sort out how they work i= t's convenient
=C2=A0
As for me, I always use -Wall enabled, it really helps write reliable
code (and frequently brokes compilation of some projects :-).

My too.=C2=A0 I also use -Wextra.=C2=A0 N= either of those imply -Wdeclaration-after-statement,
i= t's that unpopular.=C2=A0 I like to use -Werror as well and pcb is pret= ty close to clean enough

--047d7b5d9c071b412c05227b08f7--