Subject: Re: devel/libgetopt: incompat. declaration of builtin strlen
To: None <tech-pkg@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 09/14/2007 09:56:52
On Fri, Sep 14, 2007 at 01:33:17AM -0400, Blair Sadewitz wrote:
> On NetBSD/amd64, gcc warns that strlen() is
> incompatible with the builtin strlen's type.
Just make sure that string.h is included.
> This brings me to another point: I think it would
> be a good idea to have a generic way for packages
> to detect whether or not they're running on a
> 64-bit platform.
I don't think it is a good idea, as it would be just abused for stupid
things.
Joerg