[first attempt greylisted]
On Thu, Sep 18, 2025 at 07:46:24AM +0200, Benny Siegert wrote:
> Here is some build breakage that someone(TM) should look into:
>
> devel/abseil on NetBSD 9:
https://releng.netbsd.org/bulktracker/pkg/62454127
>
> /usr/include/g++/type_traits:2242:38: error: 'int' is not an enumeration type
> typedef __underlying_type(_Tp) type;
That build failure happened with gcc 7.5. This fix looks promising:
Fix check_op(s) compilation failures on gcc 8 which eagerly tries to
instantiate std::underlying_type for non-num types. Before cpp20 using
std::underlying_t on non enum types is undefined behaviour.
I don't have NetBSD 9 / old gcc around to test...
Cheers,
Patrick
|