CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
In file included from /usr/include/c++/13.3.0/bits/stl_iterator.h:85,
from /usr/include/c++/13.3.0/bits/stl_algobase.h:67,
from /usr/include/c++/13.3.0/algorithm:60,
from /usr/include/qt6/QtCore/qflags.h:10,
from /usr/include/qt6/QtCore/qglobal.h:49,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/barcode.h:13,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/abstractbarcode_p.h:10,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/aztecbarcode_p.h:10,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/aztecbarcode.cpp:7:
In function ‘constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = aztec_code_t; _Args = {aztec_code_t}]’,
inlined from ‘static constexpr void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = aztec_code_t; _Args = {aztec_code_t}; _Tp = aztec_code_t]’ at /usr/include/c++/13.3.0/bits/alloc_traits.h:540:21,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:468:28,
inlined from ‘constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:123:21,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/stl_vector.h:1299:21,
inlined from ‘Prison::BitVector Prison::AztecBarcode::aztecEncode(const QByteArray&) const’ at /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/aztecbarcode.cpp:415:28:
/usr/include/c++/13.3.0/bits/stl_construct.h:97:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/13.3.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/13.3.0/bits/allocator.h:46,
from /usr/include/c++/13.3.0/memory:65,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/barcode.h:15:
In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = aztec_code_t]’,
inlined from ‘constexpr _Tp* std::allocator< >::allocate(std::size_t) [with _Tp = aztec_code_t]’ at /usr/include/c++/13.3.0/bits/allocator.h:198:40,
inlined from ‘static constexpr _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = aztec_code_t]’ at /usr/include/c++/13.3.0/bits/alloc_traits.h:482:28,
inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/stl_vector.h:381:33,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:459:44,
inlined from ‘constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:123:21,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/stl_vector.h:1299:21,
inlined from ‘Prison::BitVector Prison::AztecBarcode::aztecEncode(const QByteArray&) const’ at /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/aztecbarcode.cpp:415:28:
/usr/include/c++/13.3.0/bits/new_allocator.h:151:55: note: at offset -2 into destination object of size 9223372036854775806 allocated by ‘operator new’
151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
| ^
In function ‘constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = aztec_code_t; _Args = {aztec_code_t}]’,
inlined from ‘static constexpr void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = aztec_code_t; _Args = {aztec_code_t}; _Tp = aztec_code_t]’ at /usr/include/c++/13.3.0/bits/alloc_traits.h:540:21,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:468:28,
inlined from ‘constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:123:21,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/stl_vector.h:1299:21,
inlined from ‘Prison::BitVector Prison::AztecBarcode::aztecEncode(const QByteArray&) const’ at /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/aztecbarcode.cpp:415:28:
/usr/include/c++/13.3.0/bits/stl_construct.h:97:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = aztec_code_t]’,
inlined from ‘constexpr _Tp* std::allocator< >::allocate(std::size_t) [with _Tp = aztec_code_t]’ at /usr/include/c++/13.3.0/bits/allocator.h:198:40,
inlined from ‘static constexpr _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = aztec_code_t]’ at /usr/include/c++/13.3.0/bits/alloc_traits.h:482:28,
inlined from ‘constexpr std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/stl_vector.h:381:33,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:459:44,
inlined from ‘constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {aztec_code_t}; _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/vector.tcc:123:21,
inlined from ‘constexpr void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = aztec_code_t; _Alloc = std::allocator]’ at /usr/include/c++/13.3.0/bits/stl_vector.h:1299:21,
inlined from ‘Prison::BitVector Prison::AztecBarcode::aztecEncode(const QByteArray&) const’ at /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/lib/aztecbarcode.cpp:415:28:
/usr/include/c++/13.3.0/bits/new_allocator.h:151:55: note: at offset -1 into destination object of size 9223372036854775806 allocated by ‘operator new’
151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
| ^
/var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/imagescanner.cpp: In function ‘ZXing::Result Prison::ImageScanner::readBarcode(const QImage&, Prison::Format::BarcodeFormats)’:
/var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/imagescanner.cpp:26:24: warning: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated [-Wdeprecated-declarations]
26 | ZXing::DecodeHints hints;
| ^~~~~
In file included from /usr/include/ZXing/Content.h:10,
from /usr/include/ZXing/Result.h:12,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/imagescanner_p.h:12,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/imagescanner.cpp:11:
/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here
176 | using DecodeHints [[deprecated]] = ReaderOptions;
| ^~~~~~~~~~~
/var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/imagescanner.cpp:30:12: warning: enumeration value ‘Format_CMYK8888’ not handled in switch [-Wswitch]
30 | switch (image.format()) {
| ^
/var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/videoscannerworker.cpp: In member function ‘void Prison::VideoScannerWorker::slotScanFrame(Prison::VideoScannerFrame)’:
/var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/videoscannerworker.cpp:36:24: warning: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated [-Wdeprecated-declarations]
36 | ZXing::DecodeHints hints;
| ^~~~~
In file included from /usr/include/ZXing/Content.h:10,
from /usr/include/ZXing/Result.h:12,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/imagescanner_p.h:12,
from /var/pisi/prison-6.16.0-74/work/prison-6.16.0/src/scanner/videoscannerworker.cpp:8:
/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here
176 | using DecodeHints [[deprecated]] = ReaderOptions;
| ^~~~~~~~~~~