Gcc/10.2.0/cpp/index
The C Preprocessor
Table of Contents
- 1 Overview
- 2 Header Files
- 3 Macros
- 4 Conditionals
- 5 Diagnostics
- 6 Line Control
- 7 Pragmas
- 8 Other Directives
- 9 Preprocessor Output
- 10 Traditional Mode
- 11 Implementation Details
- 12 Invocation
- 13 Environment Variables
- GNU Free Documentation License
- Index of Directives
- Option Index
- Concept Index
The C preprocessor implements the macro language used to transform C, C++, and Objective-C programs before they are compiled. It can also be useful on its own.
• Overview:
• Header Files:
• Macros:
• Conditionals:
• Diagnostics:
• Line Control:
• Pragmas:
• Invocation:
• GNU Free Documentation License:
• Option Index:
— The Detailed Node Listing — Overview
• Tokenization:
Header Files
• Search Path:
• Alternatives to Wrapper #ifndef:
Macros
• Stringizing:
• Undefining and Redefining Macros:
• Directives Within Macro Arguments:
Predefined Macros
• System-specific Predefined Macros:
Macro Pitfalls
• Misnesting:
• Operator Precedence Problems:
• Duplication of Side Effects:
Conditionals
• Deleted Code:
Conditional Syntax
• Ifdef:
• If:
• Defined:
• Else:
• Elif:
Implementation Details
• Implementation-defined behavior:
Obsolete Features
Copyright © 1987-2020 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation. A copy of the license is included in the section entitled “GNU Free Documentation License”.
This manual contains no Invariant Sections. The Front-Cover Texts are (a) (see below), and the Back-Cover Texts are (b) (see below).
(a) The FSF’s Front-Cover Text is:
A GNU Manual
(b) The FSF’s Back-Cover Text is:
You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development.