Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




10.3. Traditional miscellany

Here are some things to be aware of when using the traditional preprocessor.

  • Preprocessing directives are recognized only when their leading # appears in the first column. There can be no whitespace between the beginning of the line and the #, but whitespace can follow the #.

  • A true traditional C preprocessor does not recognize #error or #pragma, and may not recognize #elif. CPP supports all the directives in traditional mode that it supports in ISO mode, including extensions, with the exception that the effects of #pragma GCC poison are undefined.

  • __STDC__ is not defined.

  • If you use digraphs the behavior is undefined.

  • If a line that looks like a directive appears within macro arguments, the behavior is undefined.

  Published under the terms of the GNU General Public License Design by Interspire