mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 05:13:48 +00:00
Estimated hours taken: 1 Fix various gcc warnings. library/std_util.m: library/benchmarking.m: extras/trailed_update/tests/func_trail_test.m: extras/trailed_update/tests/func_trail_test_2.m: Add some casts -- without these, the code might not compile with compilers other than gcc. library/private_builtin.m: Avoid the use of nested extern declarations, by moving the declarations out of the enclosing function. runtime/mercury_array_macros.h: Initialize `element' in MR_bsearch(). Without this, gcc reports lots of spurious warnings when compiling trace/*.c.