pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/go14



"Maya Rashish" <maya%netbsd.org@localhost> writes:

> go14: Force use of gnu99 C standard
>
> This package attempts to typedef bool, but it's a keyword in C23.
> The default compiler on Fedora 43 defaults to C23, so this fixes the build
> there.

It would be good to leave a comment.  This is a bug in go14; programs
cannot assume that std the compiler will default to.  Instead, they must
probe for and set --std= for their chosen std.  (Or, they must build
correctly with everything from c89 to c23.)



Home | Main Index | Thread Index | Old Index