]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2001/000024.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2001 / 000024.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> Fw: [IRCServices Coding] Alpha compile error
5 </TITLE>
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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>Fw: [IRCServices Coding] Alpha compile error</H1>
15 <B>Ben Goldstein</B>
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
18 </A><BR>
19 <I>Fri Dec 14 14:37:40 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000023.html">[IRCServices Coding] coding... (svcs 5)
22 </A></li>
23 <LI>Next message: <A HREF="000015.html">[IRCServices Coding] Services 5
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
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.
36
37 -- Ben Goldstein (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">beng at nc.rr.com</A>)
38
39 ----- Original Message -----
40 From: &quot;Andrew Church&quot; &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>&gt;
41 To: &lt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">beng at nc.rr.com</A>&gt;
42 Sent: Thursday, December 13, 2001 9:04 PM
43 Subject: Re: [IRCServices Coding] Alpha compile error
44
45
46 &gt;<i> &gt;gcc -DCLEAN_COMPILE -O2 -Wall -Wmissing-prototypes -g -I../.. -c set.c -o
47 </I>&gt;<i> &gt;set.o
48 </I>&gt;<i> &gt;set.c: In function `do_set_timezone':
49 </I>&gt;<i> &gt;set.c:487: wrong type argument to unary minus
50 </I>&gt;<i> &gt;set.c:447: warning: `j' might be used uninitialized in this function
51 </I>&gt;<i> &gt;
52 </I>&gt;<i> &gt;487: j = ngi-&gt;timezone*60 - (-timezone);
53 </I>&gt;<i> &gt;
54 </I>&gt;<i> &gt;I'm not sure what this is even doing, I havn't dug into the code. But it
55 </I>&gt;<i> &gt;doesn't seem that &quot;timezone&quot; alone is the correct var you meant to use
56 </I>here.
57 &gt;<i>
58 </I>&gt;<i> Actually, it is, but it looks like it's not portable; I'll make a
59 </I>&gt;<i> workaround for the next release. In the meantime, either use Linux or
60 </I>just
61 &gt;<i> remove the &quot;- (-timezone)&quot; (it's code for a case that should never happen
62 </I>&gt;<i> anyway, so it shouldn't matter too much).
63 </I>&gt;<i>
64 </I>&gt;<i> --Andrew Church
65 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
66 </I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
67 </I>&gt;<i>
68 </I>&gt;<i> &gt;-- Ben Goldstein (<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">beng at nc.rr.com</A>)
69 </I>
70
71
72
73 </PRE>
74
75 <!--endarticle-->
76 <HR>
77 <P><UL>
78 <!--threads-->
79 <LI>Previous message: <A HREF="000023.html">[IRCServices Coding] coding... (svcs 5)
80 </A></li>
81 <LI>Next message: <A HREF="000015.html">[IRCServices Coding] Services 5
82 </A></li>
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>
88 </LI>
89 </UL>
90
91 </body></html>