On Mon, Jan 30 2023, Thomas Frohwein <tfrohwein@fastmail.com> wrote:
> On Mon, Jan 30, 2023 at 01:39:32PM +0100, jca@wxcvbn.org wrote:
>> Bulk build on pbuild-amd64.wxcvbn.org
>>
>> Started : Tue Jan 24 19:33:22 CET 2023
>> Finished: Sat Jan 28 21:50:42 CET 2023
>> Duration: 4 Days 2 hours 17 minutes
>>
>> Built using OpenBSD 7.2-current (GENERIC.MP) #4: Sun Jan 8 23:17:54 CET 2023
>
> [...]
>
>> https://wxcvbn.org/~jca/build-failures/amd64-clang/2023-01-24/games/dxx-rebirth.txt
>
> common/include/valptridx.h:210:2: error: call to unsigned int
> valptridx<dcx::player>::check_index_range<valptridx<dcx::player>::index_range_exception,
> std::__1::less>(char const*, unsigned int, unsigned int,
> valptridx<dcx::player>::array_managed_type
> const*)::DXX_ALWAYS_ERROR_FUNCTION::dxx_trap_handle_index_range_error()
> declared with 'error' attribute: invalid index used in array subscript
> DXX_VALPTRIDX_CHECK(Compare<std::size_t>()(ss, array_size), handle_index_range_error, "invalid index used in array subscript", a, ss);
> ^
>
> Below a diff to update to a more recent checkout date 2022-09-29. I'm
> not sure if this fixes the issue, but the convoluted C++ behind
> DXX_VALPTRIDX_CHECK has changed so here is hoping this takes care of
> it...
>
> Runtime tested and works. Can you try it with a clang 15 build?
It fails because of -Werror:
https://pbot.rmdir.de/-0P0tistFQae2CjYikrQRQ
I suggest to just drop -Werror.
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
No comments:
Post a Comment