[mICQ] macro "dc_strerror": CVS broken?
Rüdiger Kuhlmann
micq-list-CKH1bDCG6x4V at ruediger-kuhlmann.de
Sun Feb 11 15:43:13 CET 2007
>--[rtc]
| 09.02.2007 20:20 [2410] <- util_io.c:773: macro c_strerror' used with too many (3) args
| util_io.c:915: macro `dc_strerror' used with too many (3) args
>--[Frank Gruellich]--<frank at der-frank.org>
> Making all in src
> make[1]: Entering directory `/home/admin/frank/data/hacking/micq/src'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../include -DPKGDATADIR='"/usr/local/share/micq"' -I../include -g -O2 -Wall -MT util_io.o -MD -MP -MF ".deps/util_io.Tpo" -c -o util_io.o util_io.c; \
> then mv -f ".deps/util_io.Tpo" ".deps/util_io.Po"; else rm -f ".deps/util_io.Tpo"; exit 1; fi
> util_io.c:773:120: macro "dc_strerror" passed 3 arguments, but takes just 2
> util_io.c: In function `UtilIOReceiveTCP':
> util_io.c:773: error: `dc_strerror' undeclared (first use in this function)
> util_io.c:773: error: (Each undeclared identifier is reported only once
> util_io.c:773: error: for each function it appears in.)
> util_io.c:915:120: macro "dc_strerror" passed 3 arguments, but takes just 2
> -#define dc_strerror(c,e) strerror(e)
> +#define dc_strerror(c,e,r) strerror(e)
Well, strerror needs the errno, so the second argument should be
discarded.
Anyway, fixed in CVS. I hope I didn't break anything more while trying to
seperate between errno OS error numbers and SSL error numbers...
--
"See, free nations are peaceful nations. Free nations don't attack
each other. Free nations don't develop weapons of mass destruction."
- George W. Bush, Milwaukee, Wis., Oct. 3, 2003
More information about the mICQ-List
mailing list