4 ms·
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): #p
by 1337_d00dZ 6y ago
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 https://gcc.gnu.org/onlinedocs/gcc-3.2/cpp/Pragmas.html