Source-Changes archive

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

Re: CVS commit: basesrc/usr.bin/xinstall



Jason R Thorpe <thorpej%wasabisystems.com@localhost> writes:
> On Fri, Nov 23, 2001 at 08:14:51PM +0200, Perry E. Metzger wrote:
>  > long run I think we have to abandon using the linker for warnings and
>  > beef up lint instead.
> 
> No, the linker warning is there primarily for the benefit of 3rd party
> apps, therefore beefing up lint isn't really the answer (since most
> 3rd party apps aren't developed anywhere near the presence if lint(1)).

It would be dangerous just to have a flag to the linker to say "don't
print the warnings" for the tree because people could add new unsafe
uses of mktemp. Therefore, we need *both* lint to be beefed up and
then after that a way of avoiding the linker warnings for in-tree code
because lint will subsume them.

--
Perry E. Metzger                perry%wasabisystems.com@localhost
--
NetBSD Development, Support & CDs. http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index