[PATCH] Fix various Linux build issues for Fedora 32

Post new patches here!
Post Reply
davefiddes
Posts: 4
Joined: Wed 06 May, 2020 7:21 pm

[PATCH] Fix various Linux build issues for Fedora 32

Post by davefiddes » Mon 18 May, 2020 3:10 pm

I've been trying to get PCem running on my Fedora 32 Linux install and have run into some issues most likely due to the newer compiler I have installed. I've had a stab at fixing some of them including a collection of new warnings.

These are very much a RFC. I'm new to PCem and haven't tested them on any other platform than my Fedora 32 x86-64 system. Any feedback greatly received.
Attachments
pcem_1573.patch
scamp.c: Fix 64-bit integer-as-pointer use for bank number warning
(2.66 KiB) Downloaded 6 times
pcem_1572.patch
Remove faulty cyrix special register read access
(1.42 KiB) Downloaded 5 times
pcem_1571.patch
Fix warnings when compiling codegen_*.c
(12.49 KiB) Downloaded 5 times
pcem_1570.patch
Force all gcc compiler warnings to fail development builds
(1.06 KiB) Downloaded 5 times
pcem_1569.patch
Allow compilation with GCC 10
(1.5 KiB) Downloaded 7 times
pcem_1568.patch
Add an .hgignore file to filter build artifacts (obvs not needed if you compile in a separate build directory)
(758 Bytes) Downloaded 5 times

davefiddes
Posts: 4
Joined: Wed 06 May, 2020 7:21 pm

Re: [PATCH] Fix various Linux build issues for Fedora 32

Post by davefiddes » Mon 18 May, 2020 3:12 pm

The remaining patch files.
Attachments
pcem_1575.patch
Fix buffer overflow warnings in OpenGL 3.0 video display file handling
(2.17 KiB) Downloaded 5 times
pcem_1574.patch
Fix unused variable in vid_voodoo_codegen_x86-64.h
(1.32 KiB) Downloaded 6 times

Post Reply