Search code examples
Why use apparently meaningless do-while and if-else statements in macros?...


c++cc-preprocessorc++-faq

Read More
Why does #define not require a semicolon?...


cc-preprocessor

Read More
"#include" a text file in a C program as a char[]...


cincludec-preprocessor

Read More
Why can't a string literal be concatenated to __FUNCTION__?...


c++macrosc-preprocessor

Read More
Compiler version, name, and OS detection in C++...


c++c-preprocessordetectionconditional-compilationplatform-detection

Read More
C++ preprocessor __VA_ARGS__ number of arguments...


c++cc-preprocessorvariadic-macros

Read More
How to identify platform/compiler from preprocessor macros?...


c++macroscross-platformc-preprocessor

Read More
Generate a random number using the C Preprocessor...


randomc-preprocessor

Read More
How Can I #define "elif" as "else if", in C++?...


cc-preprocessorpreprocessor-directive

Read More
C macro compilation fails in Clang with "expected ;" due to phantom comma in clang -E expa...


cmacrosclangc-preprocessor

Read More
Variadic UNUSED function/macro...


cmacrosc-preprocessor

Read More
C macro to generate printf format string...


cmacrosprintfc-preprocessor

Read More
Template for function with N inputs...


c++templatesc-preprocessor

Read More
Double hash before a parameter in a function call...


c++cc-preprocessor

Read More
Get the value of a C constant by name...


cc-preprocessor

Read More
variadic macro that references another variadic macro is not expanding the way I want...


cc-preprocessor

Read More
GCC pragma: error: expected expression before ‘#pragma’...


cgccc-preprocessor

Read More
Auto-incrementing macro expansion...


cmacrosc-preprocessor

Read More
OpenGL/glsl : Preprocessor issue with specific directive...


openglopengl-esglslc-preprocessor

Read More
C program to find the function name of a c file...


cfunctionc-preprocessorpreprocessor-directive

Read More
How to concat __func__ and __LINE__ in a macro definition...


c++cgccc-preprocessor

Read More
#define macro for debug printing in C?...


cc-preprocessor

Read More
Can I default a function argument to the value of __FILE__ at the caller?...


c++c-preprocessoroptional-arguments

Read More
Is the C99 preprocessor Turing complete?...


c-preprocessortheoryboost-preprocessorturing-complete

Read More
The need for parentheses in macros in C...


cmacrosc-preprocessorparentheses

Read More
Is this a C preprocessor bug?...


cc-preprocessorpreprocessor-directive

Read More
Expand a macro based on its parameter value...


cc-preprocessor

Read More
How to create meaningful error messages from _Generic macros?...


cgenericsmacrosc-preprocessor

Read More
How can I test if a preprocessor symbol is #define'd, but doesn't have any value?...


c++visual-c++c-preprocessor

Read More
Can a C macro definition refer to other macros?...


cc-preprocessor

Read More
BackNext