$ cat 1.c #include <stdio.h> #ifndef TEST #error err #endif int main() { return 0; }
$ gcc 1.c 1.c:4:2: error: #error err
$ gcc 1.c -D TEST
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)