--- Dalibor Topic <[EMAIL PROTECTED]> wrote: > It was my change to swab declaration that broke this > one. I'll revert the change tonight.
I changed the prototype of swab to use ssize_t instead of int (my buggy patch) or size_t (original). The reason is that it's the prototype as defined by the Open Group. See http://www.opengroup.org/onlinepubs/007904975/functions/swab.html for a reference. The main problem is that gcc doesn't find swab in <unistd.h>, while g++ does, and complains about incompatible double declaration. I have no idea why that happens. Anyway, using ssize_t makes them both happy on Linux. If this change still causes problems on FreeBSD, I'll revert it back to size_t and try to come up with a different solution for g++. best regards, dalibor topic __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
