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.
[PATCH] Fix various Linux build issues for Fedora 32
-
- Posts: 4
- Joined: Wed 06 May, 2020 7:21 pm
[PATCH] Fix various Linux build issues for Fedora 32
- Attachments
-
- pcem_1573.patch
- scamp.c: Fix 64-bit integer-as-pointer use for bank number warning
- (2.66 KiB) Downloaded 397 times
-
- pcem_1572.patch
- Remove faulty cyrix special register read access
- (1.42 KiB) Downloaded 400 times
-
- pcem_1571.patch
- Fix warnings when compiling codegen_*.c
- (12.49 KiB) Downloaded 403 times
-
- pcem_1570.patch
- Force all gcc compiler warnings to fail development builds
- (1.06 KiB) Downloaded 386 times
-
- pcem_1569.patch
- Allow compilation with GCC 10
- (1.5 KiB) Downloaded 391 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 400 times
-
- Posts: 4
- Joined: Wed 06 May, 2020 7:21 pm
Re: [PATCH] Fix various Linux build issues for Fedora 32
The remaining patch files.
- Attachments
-
- pcem_1575.patch
- Fix buffer overflow warnings in OpenGL 3.0 video display file handling
- (2.17 KiB) Downloaded 390 times
-
- pcem_1574.patch
- Fix unused variable in vid_voodoo_codegen_x86-64.h
- (1.32 KiB) Downloaded 410 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: [PATCH] Fix various Linux build issues for Fedora 32
Merged 1571-1575. 1568 is no longer relevant (though a Git equivalent might be handy), 1569 is redundant as an equivalent change is in place, and I don't think I personally agree with 1570.