NagyD / SDLPoP

An open-source port of Prince of Persia, based on the disassembly of the DOS version.
GNU General Public License v3.0
1.1k stars 141 forks source link

SDLPoP cannot be built with gcc 10 #204

Closed musuruan closed 4 years ago

musuruan commented 4 years ago

gcc 10 recently changed the default behaviour from -fcommon to -fno-common: https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common

With this change it is not possible to build SDPPoP: http://koji.rpmfusion.org/kojifiles/work/tasks/8075/408075/build.log

NagyD commented 4 years ago

I've recently merged a pull request (#203) which fixes a similar problem with clang. Can you check if it solves the problem for you as well?

musuruan commented 4 years ago

Yes, it works. Thank you very much!