Date: Wed, 16 Jan 2019 13:47:56 -0600 From: "A. Wilcox" <awilfox@...lielinux.org> To: musl@...ts.openwall.com Subject: Re: Minor C99 conformance issue: FILE is an incomplete type On 01/16/19 13:33, Rich Felker wrote: > On Wed, Jan 16, 2019 at 01:25:57PM -0600, A. Wilcox wrote: >> This was noted by our POSIX conformance testing. There was a discussion >> in the #musl IRC about possibly making a fake _IO_FILE to satisfy not >> just POSIX but some miscreant glibc apps. However, I believe it was >> decided not to do that. > > I'm not opposed to it, but it also hasn't seemed like a priority to > work on, and catching programs that are wrongly (from a > future-proofness standpoint, and from a semantic nonsense standpoint) > depending on it seems to have been helpful in getting them fixed. > > Rich > Perhaps this could only be enabled when __STDC_VERSION__ == 199901L (iirc?) *and* __STRICT_ANSI__ are defined, and no other FTM (_BSD, _GNU, etc). I'm unaware of *any* software that uses -std=c99 -ansi without other FTM (though I have seen one -std=c89 -ansi with no other FTM). Best, --arw -- A. Wilcox (awilfox) Project Lead, Adélie Linux https://www.adelielinux.org Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.