Subject: lib/7470: libc warnings are issued for functions not used from libc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 04/25/1999 15:36:38
>Number:         7470
>Category:       lib
>Synopsis:       libc warnings are issued for functions not used from libc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 25 15:35:01 1999
>Last-Modified:
>Originator:     Todd Vierling
>Organization:
	DuhNet: Pointing out the obvious since 1994.

>Release:        1.4_BETA
>Environment:

>Description:
When linking in a function from a static library which has the same name as
a function in libc that has a "compatibility" or "unsafe" warning attached,
the warning is issued anyway.

>How-To-Repeat:
Build gmake from pkgsrc.  Note that, even though glob() and globfree() come
from its internal libglob.a, you see:

read.o: warning: reference to compatibility glob(); include <glob.h> for correct reference
read.o: warning: reference to compatibility globfree(); include <glob.h> for correct reference

>Fix:
?
>Audit-Trail:
>Unformatted: