kopia lustrzana https://gitlab.com/sane-project/website
152 wiersze
4.9 KiB
HTML
152 wiersze
4.9 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: C++ comments in snapscan (Was: Feature freeze f</TITLE>
|
||
|
<META NAME="Author" CONTENT="Petter Reinholdtsen (pere@hungry.com)">
|
||
|
<META NAME="Subject" CONTENT="Re: C++ comments in snapscan (Was: Feature freeze for 1.0.3)">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
|
<H1>Re: C++ comments in snapscan (Was: Feature freeze for 1.0.3)</H1>
|
||
|
<!-- received="Thu Jul 13 10:59:00 2000" -->
|
||
|
<!-- isoreceived="20000713175900" -->
|
||
|
<!-- sent="Fri, 14 Jul 2000 02:22:11 +0800" -->
|
||
|
<!-- isosent="20000713182211" -->
|
||
|
<!-- name="Petter Reinholdtsen" -->
|
||
|
<!-- email="pere@hungry.com" -->
|
||
|
<!-- subject="Re: C++ comments in snapscan (Was: Feature freeze for 1.0.3)" -->
|
||
|
<!-- id="200007131822.CAA13257@localhost.localdomain" -->
|
||
|
<!-- inreplyto="C++ comments in snapscan (Was: Feature freeze for 1.0.3)" -->
|
||
|
<STRONG>From:</STRONG> Petter Reinholdtsen (<A HREF="mailto:pere@hungry.com?Subject=Re:%20C%2B%2B%20comments%20in%20snapscan%20(Was:%20Feature%20freeze%20for%201.0.3)&In-Reply-To=<200007131822.CAA13257@localhost.localdomain>"><EM>pere@hungry.com</EM></A>)<BR>
|
||
|
<STRONG>Date:</STRONG> Thu Jul 13 2000 - 11:22:11 PDT
|
||
|
<P>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0092.html">Oliver Rauch: "Re: scanimage feature request (patch available)"</A>
|
||
|
<UL>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0090.html">Petter Reinholdtsen: "Re: Feature freeze for 1.0.3"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#91">[ date ]</A>
|
||
|
<A HREF="index.html#91">[ thread ]</A>
|
||
|
<A HREF="subject.html#91">[ subject ]</A>
|
||
|
<A HREF="author.html#91">[ author ]</A>
|
||
|
</UL>
|
||
|
<HR NOSHADE><P>
|
||
|
<!-- body="start" -->
|
||
|
<P>
|
||
|
<EM>> and I receive errors like
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> In file included from snapscan.c:234:
|
||
|
</EM><BR>
|
||
|
<EM>> snapscan-scsi.c:55: parse error before `/'
|
||
|
</EM><BR>
|
||
|
<P>I suggest this patch to fix it.
|
||
|
<BR>
|
||
|
<P>Index: backend/snapscan.c
|
||
|
<BR>
|
||
|
===================================================================
|
||
|
<BR>
|
||
|
RCS file: /cvsroot/external/sane/backend/snapscan.c,v
|
||
|
<BR>
|
||
|
retrieving revision 1.1.1.1.2.2
|
||
|
<BR>
|
||
|
diff -w -u -r1.1.1.1.2.2 snapscan.c
|
||
|
<BR>
|
||
|
--- snapscan.c 2000/07/13 04:47:46 1.1.1.1.2.2
|
||
|
<BR>
|
||
|
+++ snapscan.c 2000/07/13 18:17:58
|
||
|
<BR>
|
||
|
@@ -235,7 +235,9 @@
|
||
|
<BR>
|
||
|
#include <snapscan-sources.c>
|
||
|
<BR>
|
||
|
|
||
|
<BR>
|
||
|
/* Remove comment from following line to enable USB instead of SCSI */
|
||
|
<BR>
|
||
|
-// #include "snapscan-usb.c"
|
||
|
<BR>
|
||
|
+#if USE_SNAPSCAN_USB
|
||
|
<BR>
|
||
|
+# include "snapscan-usb.c"
|
||
|
<BR>
|
||
|
+#endif
|
||
|
<BR>
|
||
|
|
||
|
<BR>
|
||
|
static size_t max_string_size(SANE_String_Const strings[]);
|
||
|
<BR>
|
||
|
|
||
|
<BR>
|
||
|
Index: backend/snapscan-scsi.c
|
||
|
<BR>
|
||
|
===================================================================
|
||
|
<BR>
|
||
|
RCS file: /cvsroot/external/sane/backend/snapscan-scsi.c,v
|
||
|
<BR>
|
||
|
retrieving revision 1.1.2.2
|
||
|
<BR>
|
||
|
diff -w -u -r1.1.2.2 snapscan-scsi.c
|
||
|
<BR>
|
||
|
--- snapscan-scsi.c 2000/07/13 04:47:44 1.1.2.2
|
||
|
<BR>
|
||
|
+++ snapscan-scsi.c 2000/07/13 18:18:01
|
||
|
<BR>
|
||
|
@@ -52,7 +52,9 @@
|
||
|
<BR>
|
||
|
/* scanner scsi commands */
|
||
|
<BR>
|
||
|
|
||
|
<BR>
|
||
|
/* Remove comment from following line to use USB instead of SCSI */
|
||
|
<BR>
|
||
|
-// #include "snapscan-usb.h"
|
||
|
<BR>
|
||
|
+#if USING_SNAPSCAN_USB
|
||
|
<BR>
|
||
|
+# include "snapscan-usb.h"
|
||
|
<BR>
|
||
|
+#endif
|
||
|
<BR>
|
||
|
|
||
|
<BR>
|
||
|
/* a sensible sense handler, courtesy of Franck;
|
||
|
<BR>
|
||
|
the last argument is expected to be a pointer to the associated
|
||
|
<BR>
|
||
|
<P><PRE>
|
||
|
--
|
||
|
##> Petter Reinholdtsen <## | <A HREF="mailto:pere@td.org.uit.no?Subject=Re:%20C%2B%2B%20comments%20in%20snapscan%20(Was:%20Feature%20freeze%20for%201.0.3)&In-Reply-To=<200007131822.CAA13257@localhost.localdomain>">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:%20C%2B%2B%20comments%20in%20snapscan%20(Was:%20Feature%20freeze%20for%201.0.3)&In-Reply-To=<200007131822.CAA13257@localhost.localdomain>">majordomo@mostang.com</A>
|
||
|
</PRE>
|
||
|
<P><!-- body="end" -->
|
||
|
<HR NOSHADE>
|
||
|
<UL>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0092.html">Oliver Rauch: "Re: scanimage feature request (patch available)"</A>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0090.html">Petter Reinholdtsen: "Re: Feature freeze for 1.0.3"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#91">[ date ]</A>
|
||
|
<A HREF="index.html#91">[ thread ]</A>
|
||
|
<A HREF="subject.html#91">[ subject ]</A>
|
||
|
<A HREF="author.html#91">[ 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>Thu Jul 13 2000 - 11:00:18 PDT</EM>
|
||
|
</EM>
|
||
|
</SMALL>
|
||
|
</BODY>
|
||
|
</HTML>
|