CMake Warning at CMakeLists.txt:510 (message):
asciidoc was not found, the man pages will not be installed.
CMake Warning (unused-cli):
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc: In static member function ‘static void {anonymous}::PrefixCode::ComputeCodeLengths(const uint64_t*, size_t, const uint8_t*, const uint8_t*, uint8_t*)’:
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:550:30: warning: ‘compact_freqs’ may be used uninitialized [-Wmaybe-uninitialized]
550 | ComputeCodeLengthsNonZero(compact_freqs, ni, min_limit, max_limit,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
551 | num_bits);
| ~~~~~~~~~
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:503:15: note: by argument 1 of type ‘const uint64_t*’ {aka ‘const long unsigned int*’} to ‘static void {anonymous}::PrefixCode::ComputeCodeLengthsNonZero(const uint64_t*, size_t, uint8_t*, uint8_t*, uint8_t*)’ declared here
503 | static void ComputeCodeLengthsNonZero(const uint64_t* freqs, size_t n,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:537:14: note: ‘compact_freqs’ declared here
537 | uint64_t compact_freqs[kMaxNumSymbols];
| ^~~~~~~~~~~~~
In file included from /usr/include/c++/15.2.0/bits/stl_tempbuf.h:61,
from /usr/include/c++/15.2.0/bits/stl_algo.h:69,
from /usr/include/c++/15.2.0/algorithm:63,
from /var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/dec_ans.h:15,
from /var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/dec_ans.cc:6:
In function ‘void std::_Construct(_Tp*, _Args&& ...) [with _Tp = int; _Args = {const int&}]’,
inlined from ‘_ForwardIterator std::__do_uninit_fill_n(_ForwardIterator, _Size, const _Tp&) [with _ForwardIterator = int*; _Size = long unsigned int; _Tp = int]’ at /usr/include/c++/15.2.0/bits/stl_uninitialized.h:470:17,
inlined from ‘_ForwardIterator std::uninitialized_fill_n(_ForwardIterator, _Size, const _Tp&) [with _ForwardIterator = int*; _Size = long unsigned int; _Tp = int]’ at /usr/include/c++/15.2.0/bits/stl_uninitialized.h:571:37,
inlined from ‘_ForwardIterator std::__uninitialized_fill_n_a(_ForwardIterator, _Size, const _Tp&, allocator<_Tp>&) [with _ForwardIterator = int*; _Size = long unsigned int; _Tp = int; _Tp2 = int]’ at /usr/include/c++/15.2.0/bits/stl_uninitialized.h:727:39,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_fill_initialize(size_type, const value_type&) [with _Tp = int; _Alloc = std::allocator]’ at /usr/include/c++/15.2.0/bits/stl_vector.h:2000:33,
inlined from ‘std::vector<_Tp, _Alloc>::vector(size_type, const value_type&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator]’ at /usr/include/c++/15.2.0/bits/stl_vector.h:602:27,
inlined from ‘jxl::Status jxl::{anonymous}::ReadHistogram(int, std::vector*, jxl::BitReader*)’ at /var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/dec_ans.cc:124:44,
inlined from ‘jxl::Status jxl::DecodeANSCodes(JxlMemoryManager*, size_t, size_t, BitReader*, ANSCode*)’ at /var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/dec_ans.cc:237:25:
/usr/include/c++/15.2.0/bits/stl_construct.h:133:7: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’ forming offset [4, 7] is out of the bounds [0, 4] [-Warray-bounds=]
133 | ::new(static_cast(__p)) _Tp(std::forward<_Args>(__args)...);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc: In static member function ‘static void {anonymous}::PrefixCode::ComputeCodeLengths(const uint64_t*, size_t, const uint8_t*, const uint8_t*, uint8_t*)’:
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:550:30: warning: ‘compact_freqs’ may be used uninitialized [-Wmaybe-uninitialized]
550 | ComputeCodeLengthsNonZero(compact_freqs, ni, min_limit, max_limit,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
551 | num_bits);
| ~~~~~~~~~
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:503:15: note: by argument 1 of type ‘const uint64_t*’ {aka ‘const long unsigned int*’} to ‘static void {anonymous}::PrefixCode::ComputeCodeLengthsNonZero(const uint64_t*, size_t, uint8_t*, uint8_t*, uint8_t*)’ declared here
503 | static void ComputeCodeLengthsNonZero(const uint64_t* freqs, size_t n,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/enc_fast_lossless.cc:537:14: note: ‘compact_freqs’ declared here
537 | uint64_t compact_freqs[kMaxNumSymbols];
| ^~~~~~~~~~~~~
In member function ‘jxl::Status JxlEncoderOutputProcessorWrapper::SetAvailOut(uint8_t**, size_t*)’,
inlined from ‘jxl::Status JxlEncoderOutputProcessorWrapper::SetAvailOut(uint8_t**, size_t*)’ at /var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/encode.cc:183:13,
inlined from ‘jxl::Status JxlEncoderOutputProcessorWrapper::CopyOutput(std::vector&, uint8_t*, size_t&)’ at /var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/encode.cc:195:5:
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/encode.cc:187:13: warning: storing the address of local variable ‘next_out’ in ‘*this.JxlEncoderOutputProcessorWrapper::next_out_’ [-Wdangling-pointer=]
187 | next_out_ = next_out;
| ~~~~~~~~~~^~~~~~~~~~
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/encode.cc: In member function ‘jxl::Status JxlEncoderOutputProcessorWrapper::CopyOutput(std::vector&, uint8_t*, size_t&)’:
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/encode.cc:193:44: note: ‘next_out’ declared here
193 | std::vector& output, uint8_t* next_out, size_t& avail_out) {
| ~~~~~~~~~^~~~~~~~
/var/pisi/libjxl-0.11.1-7/work/libjxl-0.11.1/lib/jxl/encode.cc:193:71: note: ‘this’ declared here
193 | std::vector& output, uint8_t* next_out, size_t& avail_out) {
| ^