On Fri, 25 Apr 2014, Marek Polacek wrote: > On Thu, Apr 24, 2014 at 03:11:15PM -0600, Jeff Law wrote: > > OK. Though in practice I doubt this is going to catch many real > > bugs. Are people still giving main a stdargs style signature? > > I doubt too, it's more a matter of QOI. I've actually never seen > main (int, ...). But it seemed wrong to not to warn on that. > Thanks,
As a matter of QoI we should also diagnose use of _Atomic in the return type or argument types of main (something I deferred doing in the initial _Atomic support). -- Joseph S. Myers jos...@codesourcery.com