If hoard data is not initialized, hoard_resources_type::reset frees
GameBitmaps[0].data, which is bogus_data instead of nullptr or a valid
pointer.
Fixes: d422e8656a ("Simplify HoardEquipped")
gcc-4.6 fails to synthesize a move constructor to initialize
reversed_render_range; later gcc accept this.
Switch to capturing the value by const auto &&, which works in both old
and new gcc.
gcc-4.6 chokes on implicitly converting vobjptridx_t to int/uint16_t;
later gcc accepts this. Cast the vobjptridx_t directly to short to
force gcc-4.6 to find the correct conversion operator.
gcc-4.6 chokes on implicitly converting objptridx_t to short; later gcc
accepts this. Cast the objptridx_t directly to short to force gcc-4.6
to find the correct conversion operator.
gcc-4.6 chokes on casting vobjptridx_t to long; later gcc accepts this.
Change the format string to short, then switch the conversion to
objnum_t, which has an exact match for the converting operator.
gcc-4.6 chokes on constexpr operator int(); later gcc accepts this.
menu_fix_wrapper is never converted in constexpr context, so remove the
constexpr specifier.
Fixes: 12ad357b8d ("Move Wimp Menu to macro")
gcc-4.6 chokes on `static constexpr type value{};`, but accepts
`static constexpr auto value = type{};`
Fixes: 9d213b5282 ("Wrap player_has_weapon return type")
gcc-4.6 chokes on `static constexpr type value{};`, but accepts
`static constexpr auto value = type{};`
Fixes: ae8b99ae7d ("Use RAIIdigi_sound for briefing printing_channel")
gcc-4.6 chokes on `static constexpr type value{};`, but accepts
`static constexpr auto value = type{};`
Fixes: 95e3ac1e5b ("Use integral_constant for UI kind")
gcc-4.6 chokes on `static constexpr type value{};`, but accepts
`static constexpr auto value = type{};`
Fixes: 9595aec2fb ("Use integral_constant for endian constants")
gcc-4.6 chokes on `static constexpr type value{};`, but accepts
`static constexpr auto value = type{};`
Fixes: 77ec36b9c3 ("Convert g3_draw_morphing_model to class")