https://bugs.kde.org/show_bug.cgi?id=424853
            Bug ID: 424853
           Summary: Build fails with zxing-cpp 1.1.0
           Product: KDE Itinerary
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: vkra...@kde.org
          Reporter: aro...@archlinux.org
  Target Milestone: ---

Note: this report is about the kitinerary library, which doesn't seem to have a
product in bko.

zxing-cpp 1.1.0 has several throw statements in its header files. This makes
kitinerary fail to build, since they conflict with the -fno-exceptions CXX flag
added by ECM.

In file included from
/build/kitinerary/src/kitinerary-20.04.3/src/qimagepurebinarizer.h:26,
                 from
/build/kitinerary/src/kitinerary-20.04.3/src/barcodedecoder.cpp:22:
/usr/include/ZXing/BinaryBitmap.h: In member function ‘virtual
std::shared_ptr<ZXing::BinaryBitmap> ZXing::BinaryBitmap::cropped(int, int,
int, int) const’:
/usr/include/ZXing/BinaryBitmap.h:115:71: error: exception handling disabled,
use ‘-fexceptions’ to enable
  115 |   throw std::runtime_error("This binarizer does not support
cropping.");
      |                                                                       ^

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to