vegastrike / Vega-Strike-Engine-Source

Vega Strike Engine
Other
252 stars 44 forks source link

0.8.0 fails to build with GCC 14 #835

Open david-geiger opened 2 months ago

david-geiger commented 2 months ago

Hi,

On Mageia Cauldron latest stable 0.8.0 release fails to build with GCC 14 with the following build issue:

/home/pterjan/rpmbuild/BUILD/Vega-Strike-Engine-Source-0.8.0/engine/src/gfx/cockpit.h:219:10: note: | ^~~~~~~~~~~ /usr/include/c++/14/bits/alloc_traits.h:71:31: error: static assertion failed: allocator_traits<A>::rebind_alloc<A::value_type> must be A 71 | _Tp>::value, | ^~~~~ /usr/include/c++/14/bits/alloc_traits.h:71:31: note: 'std::integral_constant<bool, false>::value' evaluates to false

Attached the full build log: build.x86_64.0.20240331143546.log

BenjamenMeyer commented 2 months ago

@david-geiger thanks for reporting. I'm not sure how to easily solve this for the time being.

Just FYI - Right now we're focused on getting 0.9.0 out the door (recent alphas cut); there's still some things to fix up there but you may be worth checking out the 0.9.x branch or an alpha cut. It should be better than 0.8.0 which has admittedly aged a bit now.

Of course, PRs are always welcome too, and they'd be greatly appreciated as well.

david-geiger commented 2 months ago

Yes tested right now version 0.9.0-alpha4 build and works fine!

let's discontinue with the 0.8.0 release.

BenjamenMeyer commented 2 months ago

Yes tested right now version 0.9.0-alpha4 build and works fine!

let's discontinue with the 0.8.0 release.

We will as soon as we can complete the 0.9.0 release cycle. We have a couple things that need to get finished, and need to identify some GH Actions to do the release upload for Mac/Windows.

evertvorster commented 2 weeks ago

@david-geiger Funnily enough, VegaStrike engine 0.8.x now builds with GCC 14 on Arch. I am using the AUR package vegastrike-engine-release-git.

Please, re-try compilation and close this bug if it compiles for you.

david-geiger commented 2 weeks ago

I can't test I have switched to the 0.9.x series.