Just looking at the log, it seems that unused-parameter error is
enabled. I don't know how your pipeline works, but it's not dpkg-
buildpackage, so it makes sense that the default CFLAGS (or CXXFLAGS) is
set.

genesys/low.cpp:636:76: error: unused parameter 'sensor' [-Werror
=unused-parameter]

You can either change the compiler flags or change the function
signature from:

bool should_enable_gamma(const ScanSession& session, const
Genesys_Sensor& sensor)

to:

bool should_enable_gamma(const ScanSession& session, const
Genesys_Sensor&)

and it should be happy. If that fails too, a less elegant solution is to
leave the if condition that uses it in, and make it return true instead
of false.

But I don't think that build is important to the distro issue.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to simple-scan in Ubuntu.
https://bugs.launchpad.net/bugs/1327801

Title:
  Bightness and contrast settings have no effect

Status in sane-backends:
  Unknown
Status in sane-backends package in Ubuntu:
  Confirmed
Status in simple-scan package in Ubuntu:
  Invalid

Bug description:
  Scanner: Canon, Inc. CanoScan N1240U/LiDE 30
  Ubuntu 14.04, Simple Scan version 3.12.1.

  Adjusting the settings of brightness and contrast has no effect.

  With the default for scanning in "text" mode being too bright, this makes 
"Simple Scan" in text mode unusable for me.
  Brightness and contrast settings don't work in "foto" mode, too. But the 
default of the foto mode is usable.

  Brightness setting does work in program "Skanlite".

To manage notifications about this bug go to:
https://bugs.launchpad.net/sane-backends/+bug/1327801/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to