I want to know whether it is possible to define a macro as a preprocessor directive. For example:
#define GENERATE_ERROR #error "Error!"
I tried it but when I compile, the compiler gives me a bunch of errors about illegal tokens due to macro expansion. Is it just not possible or am I not doing it right?