[MacPorts] #69436: libjxl fails on 10.6 Snow Leopard - onstexpr function never produces a constant expression [-Winvalid-constexpr]
MacPorts
noreply at macports.org
Sat Mar 2 23:22:22 UTC 2024
#69436: libjxl fails on 10.6 Snow Leopard - onstexpr function never produces a
constant expression [-Winvalid-constexpr]
-----------------------+--------------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snow leopard
Port: libjxl |
-----------------------+--------------------------
Comment (by rmottola):
GCC confirms the same error.
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_libjxl/libjxl/work/libjxl-0.10.1/lib/jxl/coeff_order.h:35:41:
error: call to non-'constexpr' function 'const std::__1::array<_Tp,
_Size>::value_type& std::__1::array<_Tp, _Size>::operator[](size_type)
const [with _Tp = long unsigned int; long unsigned int _Size = 40;
const_reference = const long unsigned int&; size_type = long unsigned
int]'
35 | return kCoeffOrderOffset[3 * order + c] * kDCTBlockSize;
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69436#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list