This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFC] enable -Wstrict-prototypes (PR 82922)


On 06/12/2018 11:21 AM, Joseph Myers wrote:
> On Tue, 12 Jun 2018, Martin Sebor wrote:
> 
>> The proposal to enable -Wstrict-prototypes discussed below
>> was considered too late for GCC 8.  I'd like to revive it
>> now for GCC 9.
>>
>>   https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00935.html
> 
> My point from that discussion stands that () for no arguments should be 
> considered separately from warning for all the other cases.
There's a lot of legacy code out there...  What's the proposal for
handling the no argument () case?  Are we thinking multiple levels?  And
if so what's the default?

This has the potential to cause a lot of headaches for the distros...

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]