prog.cpp: In function ‘int main()’:
prog.cpp:1:22: error: ‘sorry_strcpy_is_a_banned_function’ was not declared in this scope
#define BANNED(func) sorry_##func##_is_a_banned_function
^~~~~~
prog.cpp:4:21: note: in expansion of macro ‘BANNED’
#define strcpy(x,y) BANNED(strcpy)
^~~~~~
prog.cpp:7:2: note: in expansion of macro ‘strcpy’
strcpy(NULL, NULL);
^~~~~~