pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: (ham/xnec2c) wanted -std=gnu17'



nia <nia%NetBSD.org@localhost> writes:

> On Tue, Jan 02, 2024 at 08:29:52AM -0500, Greg Troxel wrote:
>> C17 seems to be a corrected version of C11 and it's odd for something to
>> ask for it, but I can't say it's wrong.
>> 
>> I think it makes sense to add it.
>> 
>> I tried briefly  to find which version of gcc first implemented c17, and
>> didn't, but gcc9 doesn't seem strange and if somebody figures out a
>> slightly different version is the answer it is easy to fix.
>> 
>> Would be good to hear from somebody else who is more of a langauge lawyer..
>> 
>> (Yes, please keep the change the infrastructure and adjusting xnec2c
>> separate.)
>
> I would prefer to require gcc 10 in line with the policy of using
> known-tested gcc versions shipped with netbsd releases.

Good point.  I added a comment to compiler.mk explaining this harder.
It was present before, IMHO but not loudly enough for people not attuned
to the issue to notice.


Home | Main Index | Thread Index | Old Index