andy@CSVAX.CALTECH.EDU (Andy Fyfe) (01/27/89)
Earlier rms had sent me mail saying he was considering putting this warning under '-pedantic'. Whether or not that happens, the new, extending warning is misleading. % cat test.c extern int sprintf(char *, const char *, ...); extern int sprintf(); % gcc -c test.c test.c:3: conflicting types for `sprintf' test.c:3: an argument type that has a default promotion test.c:3: can't match an empty parameter list declaration test.c:1: here is the previous declaration of `sprintf' 26402 Exit 1 gcc -c test.c