StackOverflow Questions for Tag: preprocessor-directive

Matteo Bonacini
Matteo Bonacini

Reputation: 55

I need to write a series of C++ switch branches that do the same thing but to different variables. How can I do that programmatically?

Score: 4

Views: 141

Answers: 4

Read More
Danny
Danny

Reputation: 780

OpenCL version checks fail because CL_VERSION_*_* macros are set to 1

Score: 0

Views: 29

Answers: 0

Read More
amalgamate
amalgamate

Reputation: 2310

I want to nest include files inside include files. Why cant I do that in Inno Setup?

Score: 1

Views: 582

Answers: 1

Read More
Joel B
Joel B

Reputation: 13140

Is there a compiler directive to replace part of a constant

Score: 2

Views: 148

Answers: 2

Read More
MSinger
MSinger

Reputation: 124

Understanding why certain preprocessor macro overloads don't work

Score: 0

Views: 72

Answers: 1

Read More
Russ Schultz
Russ Schultz

Reputation: 81

-Werror causes compiler to stop on #warning. What can I do to prevent this?

Score: 7

Views: 10673

Answers: 8

Read More
Foad S. Farimani
Foad S. Farimani

Reputation: 14016

How to define preprocessor symbols using devenv.com command line arguments?

Score: -1

Views: 63

Answers: 1

Read More
srujan
srujan

Reputation:

Use of #pragma in C

Score: 140

Views: 236503

Answers: 10

Read More
Eternal Dreamer
Eternal Dreamer

Reputation: 474

Ignore the use of a C++ function during compilation having operator<<

Score: 1

Views: 112

Answers: 3

Read More
Jatin Sanghvi
Jatin Sanghvi

Reputation: 2243

IBM XL C/C++ Compiler: check compiler mode using preprocessor directive

Score: 1

Views: 3038

Answers: 1

Read More
jonner
jonner

Reputation: 6509

Portability of #warning preprocessor directive

Score: 65

Views: 51543

Answers: 6

Read More
Adam S
Adam S

Reputation: 9245

Multi-line DEFINE directives?

Score: 65

Views: 121949

Answers: 3

Read More
mxg
mxg

Reputation: 21254

#ifdef replacement in the Swift language

Score: 887

Views: 357868

Answers: 19

Read More
Erick Salazar
Erick Salazar

Reputation: 1

Can’t get c++ header files to work on VSC - MACOS

Score: 0

Views: 25

Answers: 0

Read More
Derreck Dean
Derreck Dean

Reputation: 3766

VS2010 Publishing preprocessor directive

Score: 0

Views: 151

Answers: 0

Read More
Guichi
Guichi

Reputation: 2343

How to dynamically expand a variable in CPP

Score: 0

Views: 136

Answers: 2

Read More
BurkusCat
BurkusCat

Reputation: 176

How do I create a conditional compile symbol without needing to create a new build configuration to use it?

Score: 1

Views: 350

Answers: 1

Read More
qdii
qdii

Reputation: 12963

How can I know if my compiler support XXXX C++11 feature?

Score: 4

Views: 5978

Answers: 4

Read More
Giorgos Xou
Giorgos Xou

Reputation: 2194

_Generic length-function fails when default: sizeof(x)/sizeof((x)[0])

Score: 2

Views: 102

Answers: 1

Read More
William
William

Reputation: 986

How to locate the file that defines specific symbol through #define in C++?

Score: 0

Views: 69

Answers: 0

Read More
PreviousPage 1Next