sane-project-website/old-archive/2000-10/0147.html

120 wiersze
4.6 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: bug in sanei_debug.h</TITLE>
<META NAME="Author" CONTENT="Jochen Eisinger (jochen.eisinger@gno.de)">
<META NAME="Subject" CONTENT="Re: bug in sanei_debug.h">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: bug in sanei_debug.h</H1>
<!-- received="Sat Oct 14 12:28:30 2000" -->
<!-- isoreceived="20001014192830" -->
<!-- sent="Sat, 14 Oct 2000 21:09:00 +0200" -->
<!-- isosent="20001014190900" -->
<!-- name="Jochen Eisinger" -->
<!-- email="jochen.eisinger@gno.de" -->
<!-- subject="Re: bug in sanei_debug.h" -->
<!-- id="39E8AF4C.DCF7FFF3@gno.de" -->
<!-- inreplyto="20001014161734.A649@vortex.swb.de" -->
<STRONG>From:</STRONG> Jochen Eisinger (<A HREF="mailto:jochen.eisinger@gno.de?Subject=Re:%20bug%20in%20sanei_debug.h&In-Reply-To=&lt;39E8AF4C.DCF7FFF3@gno.de&gt;"><EM>jochen.eisinger@gno.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Oct 14 2000 - 12:09:00 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0148.html">David Mosberger-Tang: "Re: [snapscan] Sourceforge request submitted"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0155.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0155.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#147">[ date ]</A>
<A HREF="index.html#147">[ thread ]</A>
<A HREF="subject.html#147">[ subject ]</A>
<A HREF="author.html#147">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi!
<BR>
<P><P>[Henning Meier-Geinitz]
<BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Sat, Oct 14, 2000 at 02:58:33PM +0200, Jochen Eisinger wrote:
</EM><BR>
<EM>&gt; &gt; If you want to compile SANE without support for vararg macros, the
</EM><BR>
<EM>&gt; &gt; prototype of sanei_debug_init is commented out... this can be avoided by
</EM><BR>
<EM>&gt; &gt; the attached patch...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; At least the patch seems to work for Linux/i386/gcc and Irix6.2/Mips/cc.
</EM><BR>
<EM>&gt; Any idea why this was done in this way?
</EM><BR>
<P>I think there was no special reason for this - I think it's really a
<BR>
bug: the defintion of sanei_debug_init needs to be present for both
<BR>
vararg and no-vararg macros.
<BR>
<P><EM>&gt;
</EM><BR>
<EM>&gt; Generally, wouldn't it be better to test for the availability of vararg
</EM><BR>
<EM>&gt; macros (in configure)? I don't know if this is possible/reliable ...
</EM><BR>
<P>Of course it would be possible - try to compile a programm with vararg
<BR>
macros during configure, if it fails we don't have support for it.
<BR>
Perhaps this information can be used in other programs to.
<BR>
<P>However, I'm still going to commit the change tommorow... I think this
<BR>
wasn't a objection from you, Henning, was it?
<BR>
<P>-- jochen
<BR>
<P><PRE>
--
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:%20bug%20in%20sanei_debug.h&In-Reply-To=&lt;39E8AF4C.DCF7FFF3@gno.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0148.html">David Mosberger-Tang: "Re: [snapscan] Sourceforge request submitted"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0155.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0155.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#147">[ date ]</A>
<A HREF="index.html#147">[ thread ]</A>
<A HREF="subject.html#147">[ subject ]</A>
<A HREF="author.html#147">[ 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 Oct 14 2000 - 12:32:07 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>