pkgsrc-Bugs archive

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

Re: pkg/33036: p5-pkgsrc-Dewey-1.0 uses warn() from err.h, even if not included



The following reply was made to PR pkg/33036; it has been noted by GNATS.

From: Stuart Shelton <stuart%zeus.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/33036: p5-pkgsrc-Dewey-1.0 uses warn() from err.h, even if
        not included
Date: Fri, 10 Mar 2006 13:42:32 +0000

 Although, or course, including err.h from nbcompat also fails because
 the C library doesn't include the warn() function that the header
 prototypes.
 
 Reimplementing warn() (and vwarn()) within defs.h is almost trivial
 (although I can't see any way to find the program name) - I guess this
 should be conditionally performed depending on the state of
 HAVE_ERR_H...
 



Home | Main Index | Thread Index | Old Index