xmStringValueTable is now defined in resourcePalette.c.
Warning, cannot access the index:
_darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)
diff -rN -u old-DM2K/dm2kApp/dm2k/displayList.h new-DM2K/dm2kApp/dm2k/displayList.h
--- old-DM2K/dm2kApp/dm2k/displayList.h 2022-06-25 21:41:55.776144233 +0200
+++ new-DM2K/dm2kApp/dm2k/displayList.h 2022-06-25 21:41:55.776144233 +0200
@@ -115,7 +115,12 @@
#include "enums.h"
-XmString xmStringValueTable[NUMBER_STRING_VALUES];
+/* Instead of defining xmStringValueTable here
+ * which is faulty and bad style, we define it in
+ * dm2k/resourcePalette.c.
+ * Goetz Pfeiffer <Goetz.Pfeiffer@helmholtz-berlin.de> 2020
+ */
+extern XmString xmStringValueTable[NUMBER_STRING_VALUES];
/* addition for sensitivity */
/* ------------------------ */
diff -rN -u old-DM2K/dm2kApp/dm2k/resourcePalette.c new-DM2K/dm2kApp/dm2k/resourcePalette.c
--- old-DM2K/dm2kApp/dm2k/resourcePalette.c 2022-06-25 21:41:55.776144233 +0200
+++ new-DM2K/dm2kApp/dm2k/resourcePalette.c 2022-06-25 21:41:55.780144302 +0200
@@ -116,6 +116,13 @@
extern void createAmDialog(Widget);
+/* Instead of defining xmStringValueTable in file
+ * dm2k/displayList.h, which is faulty and bad style, we
+ * define it here.
+ * Goetz Pfeiffer <Goetz.Pfeiffer@helmholtz-berlin.de> 2020
+ */
+XmString xmStringValueTable[NUMBER_STRING_VALUES];
+
/*********************************************************************
* STRIP CHART DATA
*********************************************************************/
patch 0fb8cbe7bc1d13c83ed598e06e50350a4b8d41f4
Author: Goetz.Pfeiffer@helmholtz-berlin.de
Date: Wed Jan 13 10:36:12 CET 2021
* xmStringValueTable is now defined in resourcePalette.c.
Before this patch, the variable was defined in dm2kApp/dm2k/displayList.h
which is bad style and lead to a compile error on a fedora-32 system