Olaf Meeuwissen
471e8ac0c1
sanei_pp: fix [-Wcpp] compiler warning
...
The `#warning` directive is turned into an error by `-Werror`. The
directive triggers is guaranteed to trigger with __GNUC__ when no
parallel support is available. This would prevent strict CI builds.
Output a message with all compilers that understand the pragma. Those
that don't should ignore it, according to C99.
2016-09-25 16:28:11 +09:00
Olaf Meeuwissen
7d7030a409
sanei_usb: : fix [-Wunused-parameter] compiler warnings
...
These were issued in the absence of libusb.
2016-09-25 15:53:46 +09:00
Olaf Meeuwissen
e6faafcdc9
xerox_mfp: fix [-Wunused-parameter] compiler warnings
...
These are issued when libjpeg was not found during configuration.
2016-09-25 15:44:36 +09:00
Louis Lagendijk
32be261254
Merge branch 'master' of ssh://git.debian.org/git/sane/sane-backends
2016-09-21 22:35:10 +02:00
Olaf Meeuwissen
97d2a3d22d
AWARE: Treat compiler warnings as errors on debian-8-full
...
This build became compiler warning free in ee550e5d
. Let's keep it
that way!
2016-09-21 22:11:09 +09:00
Olaf Meeuwissen
4119f05d5f
Fix USB ID typo
2016-09-21 21:54:39 +09:00
Olaf Meeuwissen
ee550e5de8
pieusb: fix [-Wunused-parameter] compiler warnings
...
The functions that trigger these warnings were not used.
2016-09-20 09:12:53 +09:00
Olaf Meeuwissen
bf088a6ed1
Merge comments
...
This gets rid of a missing :usbid warning.
2016-09-19 17:45:35 +09:00
Olaf Meeuwissen
e01f574b19
Merge duplicate entry
2016-09-19 17:44:48 +09:00
Olaf Meeuwissen
1a328e412f
Add missing USB IDs
...
Taken from http://www.linux-usb.org/usb.ids
2016-09-19 17:44:14 +09:00
Olaf Meeuwissen
dd940a1f61
utsushi.desc: sync with upstream
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen
fb0464d9e3
niash: fix [-Wunused-but-set-variable] compiler warning
...
This makes explicit what the compiler has effectively been doing all
along anyway since at least 727dd4ab
(2004-08-03).
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen
6f4b88b617
epson2: fix [-Wunused-but-set-variable] compiler warning
...
This makes explicit what the compiler has effectively been doing all
along anyway since at least 728e032a
(2009-06-01).
2016-09-19 12:41:58 +09:00
Olaf Meeuwissen
4dce101c05
Keep generated *.eps and *.pdf files out of the repository
2016-09-19 10:04:35 +09:00
Olaf Meeuwissen
46bc0ff1c8
Sync autofoo
2016-09-18 21:41:03 +09:00
Olaf Meeuwissen
2b973d75fe
Add fig2dev as prerequisite for API HTML docs
...
The target for sane-html depends on sane.dvi which requires fig2dev.
Thanks to:
- https://lists.debian.org/debian-user/2016/08/msg00484.html
- http://superuser.com/questions/1101439/error-building-sane-backend-on-debian
2016-09-18 21:31:34 +09:00
Olaf Meeuwissen
db22a031d1
Fix typo introduced in fa41b180
. Fixes 315435
2016-09-18 21:19:12 +09:00
m. allan noah
9d388c3593
canon_dr v56
...
- add initial support for P-150M (and probably P-150)
2016-09-11 19:04:34 -04:00
Olaf Meeuwissen
39ceeae616
md5: fix [-Wstrict-aliasing] compiler warnings
2016-09-07 21:03:30 +09:00
Olaf Meeuwissen
27a4da41b1
Prefer *our* `include/` files
...
This fixes discrepancies in build results for VPATH builds.
2016-09-07 21:01:26 +09:00
Olaf Meeuwissen
737977199c
umax_pp: fix [-Wunused-but-set-variable] compiler warning
2016-09-05 23:40:39 +09:00
Olaf Meeuwissen
50fa8efdcf
gphoto2: fix libgphoto2 logging integration
...
In libgphoto2-2.5.0 (tagged for release on 2012-07-10) the GPLogFunc no
longer takes a va_list. Instead, it passes a formatted message.
2016-09-04 14:39:52 +09:00
Olaf Meeuwissen
23f052113b
saned: fix [-Wunused-parameter] compiler warning
...
The `__sane_unused__` attribute has been moved from sanei_backend.h to
sanei.h to make it generally useful instead of limited to backends.
2016-09-04 12:50:19 +09:00
Olaf Meeuwissen
0d527f6659
Drop build environments
...
Adding them did not quite have the effect I thought it would. I had
thought it would allow for easy linking to build logs by environment
name. Alas, no such luck.
This reverts commits:
- 9c44317289
- 6209fecf3a
2016-09-04 12:14:23 +09:00
Olaf Meeuwissen
74b4a34e82
dll: fix pedantic compiler warning
2016-09-04 12:12:14 +09:00
Olaf Meeuwissen
246673715d
utsushi.desc: sync with upstream
2016-09-03 14:36:49 +09:00
Olaf Meeuwissen
a65e74fe83
umax_pp: fix [-Werror=unused-but-set-parameter] compiler warnings
2016-08-28 15:49:44 +09:00
Olaf Meeuwissen
4eaefe4371
magicolor: fix [-Werror] compiler warning
...
This casts away const-ness in the hope that libsnmp doesn't change
the session.peername.
2016-08-28 15:27:50 +09:00
Olaf Meeuwissen
31ac0db736
magicolor: fix [-Werror=pointer-sign] compiler warnings
...
The libsnmp API requires a u_char *session.community :-(
2016-08-28 15:25:43 +09:00
Olaf Meeuwissen
c32d48ef5f
kodakaio: fix [-Weror=format=] compiler warning
2016-08-28 14:19:34 +09:00
Olaf Meeuwissen
0337514b8f
kodakaio: fix [-Werror=sign-compare] compiler warning
2016-08-28 14:18:00 +09:00
Olaf Meeuwissen
763816814b
hp5400: fix [-Werror=overflow] compiler warning
...
This explicitly implements what gcc and clang assign.
2016-08-28 13:56:16 +09:00
Olaf Meeuwissen
9c44317289
Fix environment name (periods are not allowed)
2016-08-28 13:24:17 +09:00
Olaf Meeuwissen
984fefd551
plustek_pp: fix [-Werror=sign-compare] compiler warning
2016-08-28 13:21:11 +09:00
Olaf Meeuwissen
f0153bc7fe
v4l: fix [-Werror=sign-compare] compiler warning
2016-08-28 12:58:56 +09:00
Olaf Meeuwissen
6209fecf3a
Make referencing builds easier
2016-08-28 12:17:46 +09:00
Olaf Meeuwissen
235de98784
md5: fix [-Wpointer-arith] compiler warnings
...
This reverts commits 9aecb00947
and
cdad5961f3
which fixed a different
compiler warning that seems to have disappeared (at least on the
debian-8-full builds).
2016-08-28 11:59:49 +09:00
Olaf Meeuwissen
bf53c71434
Sync with upstream
2016-08-04 22:47:01 +09:00
Olaf Meeuwissen
ffd93a9fad
Sync autofoo
2016-08-03 22:43:06 +09:00
Olaf Meeuwissen
cb3090cb54
pixma: Fix include guard typo
...
This was introduced in f573865
on 2008-10-18.
2016-08-03 22:16:26 +09:00
Olaf Meeuwissen
23cc2e1ba0
Fix include guard typo
...
This seems to have been present since the beginning of sanei/sanei_scsi.c.
2016-08-03 22:12:45 +09:00
Olaf Meeuwissen
63b55e2b59
Drop check for sys/bitypes.h
...
It was obsoleted in 70f3fdf
on 2009-02-26.
2016-08-03 22:05:03 +09:00
Olaf Meeuwissen
d263f25911
Fix typo
...
Appears to have been introduced in 0330a4d
on 2009-02-02. There is no
evidence that a scdds.h file has ever existed.
2016-08-03 21:48:54 +09:00
Olaf Meeuwissen
970464f733
Drop unused CPP define
...
The last reference to it was removed in 5dcf165
on 2007-06-21.
2016-08-03 20:53:06 +09:00
Olaf Meeuwissen
5389808029
Fix memory leak
2016-08-02 21:56:09 +09:00
Olaf Meeuwissen
1006445982
Use DIR_SEP instead of hard-coding ":"
...
Fixes 313540
2016-08-02 21:38:43 +09:00
Troy Rollo
b021c3bee8
Fix bug 314571 - hp3500 backend does not set correct size for string option.
2016-07-31 22:47:25 +10:00
Olaf Meeuwissen
1859803563
Add a Fedora 24 Clang builder
2016-07-27 21:17:08 +09:00
Olaf Meeuwissen
f6c8be1380
kvs40xx: fix [-Wunused-function] compiler warning
...
This rather unceremoniously removed the function. Note that a near copy
can be found in the kvs20xx backend code.
2016-07-18 20:55:14 +09:00
Olaf Meeuwissen
effc26e402
kvs20xx: fix [-Wunused-function] compiler warning
...
This rather unceremoniously removed the function. Note that a near copy
can be found in the kvs40xx backend code.
2016-07-18 20:53:51 +09:00