| Summary: | Build fails with zxing-cpp 1.1.0 | ||
|---|---|---|---|
| Product: | [Applications] KDE Itinerary | Reporter: | Antonio Rojas <arojas> |
| Component: | general | Assignee: | Volker Krause <vkrause> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/pim/kitinerary/commit/8bf24e2372b142f1a2189ad951fa396c5a4e0e74 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
Git commit 8bf24e2372b142f1a2189ad951fa396c5a4e0e74 by Volker Krause. Committed on 01/08/2020 at 07:25. Pushed by vkrause into branch 'release/20.08'. Fix build with zxing 1.1.0 M +1 -0 src/CMakeLists.txt https://invent.kde.org/pim/kitinerary/commit/8bf24e2372b142f1a2189ad951fa396c5a4e0e74 |
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."); | ^