tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: KNF and the C preprocessor
On Mon, Dec 10, 2012 at 10:27:39PM +0200, Alan Barrett wrote:
> On Mon, 10 Dec 2012, David Young wrote:
> >What do people think about setting stricter guidelines for using
> >the C preprocessor than the guidelines from the past?
>
> Maybe.
>
> >The C preprocessor MUST NOT be used for
> >
> >1 In-line code: 'static inline' subroutines are virtually always better
> > than macros.
>
> I disagree with this one. If you tone it down to "SHOULD NOT" or
Sure, let's make it SHOULD NOT.
Dave
--
David Young
dyoung%pobox.com@localhost Urbana, IL (217) 721-9981
Home |
Main Index |
Thread Index |
Old Index