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

121 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: bug in sanei_debug.h</TITLE>
<META NAME="Author" CONTENT="Jochen Eisinger (jochen.eisinger@gno.de)">
<META NAME="Subject" CONTENT="bug in sanei_debug.h">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>bug in sanei_debug.h</H1>
<!-- received="Sat Oct 14 05:57:09 2000" -->
<!-- isoreceived="20001014125709" -->
<!-- sent="Sat, 14 Oct 2000 14:58:33 +0200" -->
<!-- isosent="20001014125833" -->
<!-- name="Jochen Eisinger" -->
<!-- email="jochen.eisinger@gno.de" -->
<!-- subject="bug in sanei_debug.h" -->
<!-- id="39E85879.FBCF85CE@gno.de" -->
<STRONG>From:</STRONG> Jochen Eisinger (<A HREF="mailto:jochen.eisinger@gno.de?Subject=Re:%20bug%20in%20sanei_debug.h&In-Reply-To=&lt;39E85879.FBCF85CE@gno.de&gt;"><EM>jochen.eisinger@gno.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Oct 14 2000 - 05:58:33 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0143.html">Jochen Eisinger: "remove option -pedantic from standard gcc options?"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0141.html">Joseph WENNINGER: "Beginner's question."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0179.html">Petter Reinholdtsen: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0244.html">Petter Reinholdtsen: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0258.html">Petter Reinholdtsen: "Re: bug in sanei_debug.h"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#142">[ date ]</A>
<A HREF="index.html#142">[ thread ]</A>
<A HREF="subject.html#142">[ subject ]</A>
<A HREF="author.html#142">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi!
<BR>
<P>If you want to compile SANE without support for vararg macros, the
<BR>
prototype of sanei_debug_init is commented out... this can be avoided by
<BR>
the attached patch...
<BR>
<P>if nobody objects, I'll commit this change tommorow.
<BR>
<P>-- jochen
<BR>
<BR><P>
--- include/sane/sanei_debug.h Sun Aug 13 18:49:43 2000
<BR>
+++ /usr/src/redhat/SOURCES/sane/include/sane/sanei_debug.h Sat Oct 14 14:54:45 2000
<BR>
@@ -45,10 +45,11 @@
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;[&quot; STRINGIFY(BACKEND_NAME) &quot;] &quot; msg, ##args); \
<BR>
&nbsp;&nbsp;&nbsp;} while (0)
<BR>
&nbsp;
<BR>
- extern void sanei_init_debug (const char * backend, int * debug_level_var);
<BR>
&nbsp;#else
<BR>
&nbsp;# define DBG sanei_debug
<BR>
&nbsp;#endif /* HAVE_VARARG_MACROS */
<BR>
+
<BR>
+extern void sanei_init_debug (const char * backend, int * debug_level_var);
<BR>
&nbsp;
<BR>
&nbsp;# define IF_DBG(x) x
<BR>
&nbsp;#endif /* NDEBUG */
<BR>
<P><P><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;39E85879.FBCF85CE@gno.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0143.html">Jochen Eisinger: "remove option -pedantic from standard gcc options?"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0141.html">Joseph WENNINGER: "Beginner's question."</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0146.html">Henning Meier-Geinitz: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0179.html">Petter Reinholdtsen: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0244.html">Petter Reinholdtsen: "Re: bug in sanei_debug.h"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0258.html">Petter Reinholdtsen: "Re: bug in sanei_debug.h"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#142">[ date ]</A>
<A HREF="index.html#142">[ thread ]</A>
<A HREF="subject.html#142">[ subject ]</A>
<A HREF="author.html#142">[ 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 - 06:01:59 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>