[Next] [Prev] [Up] [Top]

17.0 Preprocessing

Do not have extraneous information in preprocessor directives. (R)


Trailing information on preprocessing directives should be in comments for portability.

#ifdef KERNEL && !defined(_POSIX_SOURCE) <----- error

#if defined(KERNEL) && !defined(_POSIX_SOURCE) <--- ok

#ifdef KERNEL <--- ok

#endif KERNEL <--- error

#endif // KERNEL <-- ok


No Title
[Next] [Prev] [Up] [Top]

Generated with CERN WebMaker

This site was grabbed using the TRIAL version of Grab-a-Site. This message does not appear on a licensed copy of Grab-a-Site.