Re: Header bug?
Alejandro Mery <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jan 26, 2009 at 9:41 PM, Jeff King <[email protected]> wrote: > > 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. well, as happens with autoconf too, when these tools were designed the set of interesting platforms was much wide and less standardised than today. most of the other OSs are dead or POSIX complaint currently. Alejandro Mery