Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2002 13:55:10 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.org
Subject:   Re: Conflicting declarations for ffs()
Message-ID:  <3DB3182E.5FB00E59@mindspring.com>
References:  <20021020100158.GA18938@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> Take a look at:
> 
> http://bento.freebsd.org/errorlogs/5-full/cqcam-0.91_1.log
> 
> This port includes headers that declare the ffs() function twice: once
> with an inline version and once with a prototype.
> 
> Is the bug in the application, or the headers?

The application, for including both sets of headers, or not defining
_ANSI_SOURCE or _POSIX_SOURCE, or both, before including strings.h
(which is supposed to be string.h, anyway).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB3182E.5FB00E59>