In compilers that implement GCC extensions (such as Clang), you can use the "poison" directive to achieve the same effect (but with a better error message):
#pragma GCC poison printf sprintf fprintf
#pragma GCC poison printf sprintf fprintf
No comments yet.