Re:Git's list of banned C functions
by 1337_d00dZ on Thursday March 04, 2021 @05:38PM
(#26349477)
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