These were intended to suppress GCC warnings about unused variables.
However, this leads to different warnings from Clang instead.
Use another approach that suppresses warnings from both compilers.
Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:
$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c
And manually removing the comment from pieusb.c. Everything still builds
fine.
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320.
Source code was inconsistent on how they were referencing
include files in include/sane. In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
* backend/bh.c backend/bh.h doc/sane-bh.man
added support for Copiscan 8000 series by Mark Temple
added options deskew and rotation
inquiry compares product to COPISCAN rather than COPISCAN II
* backend/bh.c backend/bh.conf backend/bh.h doc/sane-bh.man
Added new backend Bell and Howell Copiscan scanners
* backend/bh.desc
Updated version from (0.1) to 1.0-4
Referenced manpage
* backend/Makefile.in
Added bh to PRELOADABLE_BACKENDS
Added libsane-bh.la dependencies
* doc/Makefile.in
Added sane-bh.5 to SECT5