This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC-v2] BFD MinGW/Cygwin build error in bfd/peiXXgen.c


> Date: Thu, 19 Dec 2013 12:38:28 +0000
> From: nick clifton <nickc@redhat.com>
> 
> > Another silly coding style question: Should there by a space
> > between the address operator "&" and the variable or expression following?
> 
> *sigh*  There is no strict rule on this subject.  Most people omit the 
> space, I include it.  I feel that since we separate other operators from 
> their arguments we should do the same with &.  I feel the same way about 
> the asterisk operator too, but not many people agree with me on that one 
> either.

Spaces around binary operators, no spaces around unary operators.
That's pretty much the universally accepted standard, and the one used
by the official C standard.

Everybody who thinks differently has been poisoned by C++ ;).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]