[C PATCH] Warn about variadic functions defined without prototypes (PR c/68024)

2015-10-21 Thread Marek Polacek
Joseph, is this what you had in mind in this PR? With this patch, we warn anytime we see a prototype-less function that is variadic. It seems rare enough not to warrant a separate warning option for it. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2015-10-21 Marek Polacek

Re: [C PATCH] Warn about variadic functions defined without prototypes (PR c/68024)

2015-10-21 Thread Joseph Myers
On Wed, 21 Oct 2015, Marek Polacek wrote: > Joseph, is this what you had in mind in this PR? With this patch, we > warn anytime we see a prototype-less function that is variadic. It > seems rare enough not to warrant a separate warning option for it. > > Bootstrapped/regtested on x86_64-linux,