Messages in this thread | | | Date | Mon, 26 Mar 2012 11:03:50 +0100 | From | Pedro Alves <> | Subject | Re: [PATCH 1/1] checkpatch.pl: thou shalt not use () or (...) in function declarations |
| |
On 03/22/2012 05:17 PM, Nick Bowler wrote:
> GCC will not normally warn about the above (unless you pass > -Wold-style-definition) which warns for all function definitions that > lack a prototype.
/me asks the stupid question:
Why not make the compiler catch this instead then, with -Werror=old-style-definition?
-- Pedro Alves
| |