Suppose I have a large body of code, of which programmers are lazy and
do something like this:
(note that this is a silly example to make my point, the real thing is
much more scary)
cat lazy.c
int printf(const char *format, ...);
int main(void)
{
printf("Problem?");
return 0;
}
If you compile that with -Wall -Wextra -pedantic or -WWhatever no
warning is emitted and the resulting code calls
..call printf ..
instead of
call __printf_chk .. as it would when