Re: Header bug?

Jeff King <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Mon, Jan 26, 2009 at 01:56:40PM -0600, Mark Johnson wrote:

> C++ compatible headers aren't even on my priority list for
> zinq-djbdns, but I am trying to clean up the K&R cruft and get rid of
> compiler warnings.  If I change the declaration and definition of
> byte_zero to be:

Out of curiosity, are you targeting the same platforms for zinq-djbdns
that djbdns currently runs on? I had the impression from reading the
code that a lot of the compiler warnings came from Dan using his own
abstract data types instead of system-provided ones (like time_t or
pid_t) because the system-provided ones varied in things like size and
signedness. Any solution to eliminate those sorts of warnings is
probably going to be a pain to work cross-platform.

-Peff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.