[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Coding style. Pre-processor directives



Alan Hourihane wrote:

> > Any reason for this? (I guess not), If not, Which one should I use?
> I'm happier with no spaces.

I think everyone should use the style he's used to use. So we know where it comes from :-)

But more important is to not insert white space between a defined macro-name and its args:

#define X(y)

not

#define X (y)

which can lead to unexpected results.


-Helmut