sane-project-website/old-archive/2000-02/0213.html

118 wiersze
5.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: New CVS snapshot 20000213</TITLE>
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
<META NAME="Subject" CONTENT="Re: New CVS snapshot 20000213">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: New CVS snapshot 20000213</H1>
<!-- received="Sat Feb 19 01:27:12 2000" -->
<!-- isoreceived="20000219092712" -->
<!-- sent="Sat, 19 Feb 2000 17:30:42 +0800" -->
<!-- isosent="20000219093042" -->
<!-- name="Petter Reinholdtsen" -->
<!-- email="pere@hungry.com" -->
<!-- subject="Re: New CVS snapshot 20000213" -->
<!-- id="200002190930.RAA29420@minerva.ee.uwa.edu.au" -->
<!-- inreplyto="New CVS snapshot 20000213" -->
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20New%20CVS%20snapshot%2020000213&In-Reply-To=&lt;200002190930.RAA29420@minerva.ee.uwa.edu.au&gt;"><EM>pere@hungry.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Feb 19 2000 - 01:30:42 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0214.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0212.html">Oliver Rauch: "new umax version 1.0 build 18"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0109.html">Petter Reinholdtsen: "New CVS snapshot 20000213"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0217.html">Wolfgang Rapp: "Re: New CVS snapshot 20000213"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0214.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0217.html">Wolfgang Rapp: "Re: New CVS snapshot 20000213"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#213">[ date ]</A>
<A HREF="index.html#213">[ thread ]</A>
<A HREF="subject.html#213">[ subject ]</A>
<A HREF="author.html#213">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; I compiled the CVS state from yesterday evening with egcs version
</EM><BR>
<EM>&gt; 2.91.66/Suse Linux 6.3. The compiler spits out countless warnings
</EM><BR>
<EM>&gt; &quot;pointer type void used in integer arithmetic&quot;. Most if not all of
</EM><BR>
<EM>&gt; there warnings come from memset (13 warnings for each call) and
</EM><BR>
<EM>&gt; string functions like strcps or strcmp (3 warnings for each call).
</EM><BR>
<P>Strange. The problem is that HP and Irix compilers do not allow
<BR>
arithmetics on void pointers. I added this flag to at least make gcc
<BR>
give a warning when this was used.
<BR>
<P>The 'cast discards qualifiers' warning will also make some compilers
<BR>
bail out (I think it is Irix 6.5 compiler). All of these warnings
<BR>
should be fixed.
<BR>
<P>The only warnings I believe can be safely ignored are 'unused
<BR>
parameter' and and 'comparison between signed and unsigned'. I'm not
<BR>
to sure about the last one. :-)
<BR>
<P>The safest bet is that no warnings means the code will compile on any
<BR>
ANSI compiler.
<BR>
<P><EM>&gt; Therefore I suggest to remove the flag -Wpointer-arith from the
</EM><BR>
<EM>&gt; final release.
</EM><BR>
<P>On the final release, I plan to make some of the warnings optional.
<BR>
Maybe --enable-warnings or something similar to activate them.
<BR>
<PRE>
--
##&gt; Petter Reinholdtsen &lt;## | <A HREF="mailto:pere@td.org.uit.no?Subject=Re:%20New%20CVS%20snapshot%2020000213&In-Reply-To=&lt;200002190930.RAA29420@minerva.ee.uwa.edu.au&gt;">pere@td.org.uit.no</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20New%20CVS%20snapshot%2020000213&In-Reply-To=&lt;200002190930.RAA29420@minerva.ee.uwa.edu.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0214.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0212.html">Oliver Rauch: "new umax version 1.0 build 18"</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0109.html">Petter Reinholdtsen: "New CVS snapshot 20000213"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0217.html">Wolfgang Rapp: "Re: New CVS snapshot 20000213"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0214.html">Petter Reinholdtsen: "Re: New CVS snapshot 20000213"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0217.html">Wolfgang Rapp: "Re: New CVS snapshot 20000213"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#213">[ date ]</A>
<A HREF="index.html#213">[ thread ]</A>
<A HREF="subject.html#213">[ subject ]</A>
<A HREF="author.html#213">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sat Feb 19 2000 - 01:28:50 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>