On Mon, Apr 21, 2014 at 08:09:42PM +0200, Camille 019 wrote:
> To avoid this kind of bugs it is preferable to declare only one field per 
> line.

It's easy to get that wrong when you write

TYPE& a;

instead of

TYPE &a;

and it's typical for C and C++ (the compiler doesn't look at spacing:D)
However many people prefer the first style (strangely MISRA doesn't have
a rule for it)

While you are looking at the CERN files, look out for involuntary
definitions (not declaration) in headers, a few happened in the past...

-- 
Lorenzo Marcantonio
Logos Srl

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to