gcc nagging
Woodchuck
djv at bedford.net
Tue Jul 3 18:41:24 PDT 2007
On Tue, 3 Jul 2007, Nick Guenther wrote:
> He knows that. He's working on an old app that uses those; he'll
> remove them once he gets the app actually /working/.
Alas, I can't even do that, since I am not the author/maintainer
of the code; moreover, there are unknown quantities of user-written
code deployed Cthulhu-knows-where that might be broken.
> Woodchuck: maybe you could just use grep to filter out the warnings?
Yeah, but believe it or not they are not all the same ;-) Some
naughty routines are "almost always misused" and others are just
"often misused". And there are multiline error messages.
I *think* at this point that setting APIWARN to 0 in /usr/src/libc/Makefile
and then rebuilding libc will silence these, but that's pretty
drastic medicine. I don't need no forked libc ;-)
Dave
More information about the Openbsd-newbies
mailing list