Comment Comment by 1337_d00dZ 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[0] https://gcc.gnu.org/onlinedocs/gcc-3.2/cpp/Pragmas.html parent 1337_d00dZ 5 years ago
#pragma GCC poison printf sprintf fprintf
[0] https://gcc.gnu.org/onlinedocs/gcc-3.2/cpp/Pragmas.html