I want to compile a program with a supplied preprocessor definition:
and in the program source:
but for some reason the preprocessor throws away the quotes ("). I’ve tried other escape characters as well:
‘“whatever.h”’ and &‘whatever’
but none of these work.
I’m using QNX 6.3.0, and I’m compiling using the IDE. So to achieve the above, I open the project properties dialog, and under the ‘Compiler’ tab, in the ‘Definitions’ field, i add the line
or in the ‘Other options’ field
Does QNX qcc use other escape characters for this? How do I define a string enclosed by quotes from the command line?