В Tue, 3 Feb 2026 15:00:05 +0300
Ivan Krylov via R-package-devel <[email protected]> пишет:

> 's2' developers seem to be aware of this

After a different package maintainer complained, they are now working
on the fix for this issue:
https://github.com/r-spatial/s2/issues/293
https://github.com/r-spatial/s2/pull/295

This is actually a GCC bug and not just a C++17/C++20 constexpr
problem: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962>

(Once again, many thanks to Gentoo developer sam_ and GCC developer
Arsen for pointing out the exact bug report from a vague description of
the problem!)

Since the function pointer comparison against nullptr in constexpr
context lives in the system-provided header file, the s2 maintainers
will probably have to build the full libabsl themselves in order to
work around this problem.

-- 
Best regards,
Ivan

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to