1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> Fw: [IRCServices Coding] Alpha compile error
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=Fw%3A%20%5BIRCServices%20Coding%5D%20Alpha%20compile%20error&In-Reply-To=">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000023.html">
11 <LINK REL=
"Next" HREF=
"000015.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>Fw: [IRCServices Coding] Alpha compile error
</H1>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=Fw%3A%20%5BIRCServices%20Coding%5D%20Alpha%20compile%20error&In-Reply-To="
17 TITLE=
"Fw: [IRCServices Coding] Alpha compile error">beng at nc.rr.com
19 <I>Fri Dec
14 14:
37:
40 PST
2001</I>
21 <LI>Previous message:
<A HREF=
"000023.html">[IRCServices Coding] coding... (svcs
5)
23 <LI>Next message:
<A HREF=
"000015.html">[IRCServices Coding] Services
5
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#24">[ date ]
</a>
27 <a href=
"thread.html#24">[ thread ]
</a>
28 <a href=
"subject.html#24">[ subject ]
</a>
29 <a href=
"author.html#24">[ author ]
</a>
34 <PRE>I don't know if Andrew meant to send this here, but it might be helpful for
35 others. When I compiled I omitted the line completely to supress the error.
37 -- Ben Goldstein (
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">beng at nc.rr.com
</A>)
39 ----- Original Message -----
40 From:
"Andrew Church
" <<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>>
41 To:
<<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">beng at nc.rr.com
</A>>
42 Sent: Thursday, December
13,
2001 9:
04 PM
43 Subject: Re: [IRCServices Coding] Alpha compile error
46 ><i> >gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -I../.. -c set.c -o
48 </I>><i> >set.c: In function `do_set_timezone':
49 </I>><i> >set.c:
487: wrong type argument to unary minus
50 </I>><i> >set.c:
447: warning: `j' might be used uninitialized in this function
52 </I>><i> >487: j = ngi-
>timezone*
60 - (-timezone);
54 </I>><i> >I'm not sure what this is even doing, I havn't dug into the code. But it
55 </I>><i> >doesn't seem that
"timezone
" alone is the correct var you meant to use
58 </I>><i> Actually, it is, but it looks like it's not portable; I'll make a
59 </I>><i> workaround for the next release. In the meantime, either use Linux or
61 ><i> remove the
"- (-timezone)
" (it's code for a case that should never happen
62 </I>><i> anyway, so it shouldn't matter too much).
64 </I>><i> --Andrew Church
65 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
66 </I>><i> <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
68 </I>><i> >-- Ben Goldstein (
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">beng at nc.rr.com
</A>)
79 <LI>Previous message:
<A HREF=
"000023.html">[IRCServices Coding] coding... (svcs
5)
81 <LI>Next message:
<A HREF=
"000015.html">[IRCServices Coding] Services
5
83 <LI> <B>Messages sorted by:
</B>
84 <a href=
"date.html#24">[ date ]
</a>
85 <a href=
"thread.html#24">[ thread ]
</a>
86 <a href=
"subject.html#24">[ subject ]
</a>
87 <a href=
"author.html#24">[ author ]
</a>