Hi sm5bsz
I propose the following change to be able to let linrad compile again on Arch Linux after the latest change in r999:
Index: screendef.h
===================================================================
--- screendef.h (revision 999)
+++ screendef.h (working copy)
@@ -95,7 +95,7 @@
-#define MAX_SVGA_PALETTE 59
+#define MAX_SVGA_PALETTE 60
// Note that these definitions give the order by which data is
The following error is produced in r999 without this change:
palette.c:29: error: "MAX_SVGA_PALETTE" redefined [-Werror]
29 | #define MAX_SVGA_PALETTE 60
|
In file included from palette.c:28:
screendef.h:98: note: this is the location of the previous definition
98 | #define MAX_SVGA_PALETTE 59
|
cc1: all warnings being treated as errors
make: *** [Makefile:2296: palette.om] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
Thank you and 73
Right, I guess Leif will agree with this change
because of his comment in palette.c.
I am not sure if Leif reads postings from this group.
It is probably a good idea to contact him directly.
Thanks for your helpful contribution.