Is there any version of C, or any compiler that does not allow implicit declaration of functions?
For example. Using mingw compiler, if I use the printf function within my program without including stdio.h, it compiles my program, displaying a warning "incompatible implicit declaration of built-in function 'printf'".
i would like to know if there is some version of C, or some compiler, which does not compile my program in these situations.
Best regards.
-Werrorand the code won't compile.int, so compiling with-std=c99 -Werrorshould catch any implicit declarations.