Hi,
I thought I'd mention that there are new gm2 packages for amd64 (Debian
Buster) and Raspbian available from floppsie.comp.glam.ac.uk
https://www.nongnu.org/gm2/debian.html
change stretch for buster, I'll be updating the documentation as well.
The bugfix which flushed the new package caused a bootstrap problem (mc
would no longer bootstrap itself). It manifested itself when a string
was used both in a call to a C function and also to a Modula-2
procedure. For example:
printf ("\n");
WriteString ("\n");
would break as the string \n would be converted with escape sequence
applied - the same string would be incorrectly passed to the Modula-2
WriteString. Anyway this is now fixed on master and the 10 branch.
Internally gm2 keeps track of 4 different kinds of string:
Modula-2 string "abcde \n" (no escape applied and no trailing nul)
Modula-2 string "abcde \n" (no escape applied and with trailing nul
used during unbounded array and array assignment if there is room)
C string "abcde \n" (escape applied and no trailing nul)
C string "abcde \n" (escape applied and trailing nul used
for printf and friends)
In other news there was a virtual GCC summit which was pretty
interesting as GDB will be supporting dwarf5 (work in progress). Dwarf5
gives us SET type debugging and MODULE scoping and also WITH scoping.
regards,
Gaius