Philip Chimento
c029af34ae
Initialize kinds array
...
GCC warns that ka[1] is possibly being used without being initialized. As
far as I can tell from reading the loop, a1 > 0 here, and the elements of
ka are initialized up to a1-1, and ka[1] is never accessed if a1 == 1.
Nonetheless, rather than rewriting the loop so GCC can understand what's
going on, maybe it's better just to put an initializer here.
2022-04-14 22:10:00 -07:00
Philip Chimento
50d39679e9
Check for Q stack underflow when popping the R stack
...
GCC warns about this, since it can't rule out that Q_sp may be 0 at this
point. I haven't understood the code well enough to be certain, but it
can't hurt to guard against that case with an internal error anyway.
2022-04-14 22:10:00 -07:00
Philip Chimento
881ac66540
Add fall-through comments
...
GCC warns about switch statement fall-throughs unless they are annotated
with a /* fall through */ comment. Add one of these.
As for the other comment, GCC also has a slightly less strict mode that
understands the comment as long as it has the words "fall through"
somewhere in it. If we slightly tweak the wording of this comment, we can
use that mode to avoid the warning.
2022-04-14 22:10:00 -07:00
Philip Chimento
f5bd4ff06c
Add platform-dependent compiler settings for Linux
2022-04-14 22:10:00 -07:00
Graham Nelson
8d8db04e84
Compensating for change of random function in C
2022-04-15 00:19:18 +01:00
Graham Nelson
ccedaace19
Merge pull request #2 from DavidKinder/master
...
Fixes for running tests on Windows
2022-04-14 23:38:22 +01:00
Graham Nelson
1a27a85710
Updated Parchment to v2022.4
2022-04-14 23:16:07 +01:00
Graham Nelson
a2bc2c4767
Miscellaneous catching up
2022-04-14 23:14:14 +01:00
Graham Nelson
0f3fb2e2d2
Fix for Mantis bug 1750
2022-04-14 19:15:39 +01:00
Graham Nelson
dad80cb0ae
Fix for Mantis bug 1774
2022-04-14 18:24:37 +01:00
Graham Nelson
b4a03dc194
Fix for Mantis bug 1776
2022-04-14 18:18:10 +01:00
Graham Nelson
1c71503617
Fix for Mantis bug 1782
2022-04-14 18:06:45 +01:00
David Kinder
39e8fdb8ec
Use correct folder separators when constructing command to run intest
2022-04-14 14:39:12 +01:00
David Kinder
d427813281
Merge branch 'ganelson:master' into master
2022-04-14 14:13:10 +01:00
Graham Nelson
f824a92de7
Fix for Mantis bug 1819
2022-04-14 12:57:31 +01:00
Graham Nelson
b1e7bd0fb9
Fix for Mantis bug 1820
2022-04-14 12:38:27 +01:00
Graham Nelson
6075e58575
Fix for Mantis bug 1821
2022-04-14 12:02:34 +01:00
Graham Nelson
bb0508e7da
Fix for Mantis bug 1822
2022-04-14 11:48:22 +01:00
Graham Nelson
8e077908d1
Fix for Mantis bug 1823
2022-04-14 11:12:44 +01:00
David Kinder
cb209ebd41
Merge branch 'ganelson:master' into master
2022-04-14 11:07:39 +01:00
Graham Nelson
ee21339940
Fix for Mantis bug 1828
2022-04-14 11:05:33 +01:00
David Kinder
2bc50bff34
Merge remote-tracking branch 'origin/master'
2022-04-14 10:10:31 +01:00
David Kinder
0103554eae
Merge branch 'ganelson:master' into master
2022-04-14 10:08:40 +01:00
David Kinder
c88c9de7ce
Get inter tests passing on Windows
2022-04-14 10:07:28 +01:00
Graham Nelson
2e5e6f1409
Bug fix to do with unopposed directions
2022-04-14 10:05:56 +01:00
Graham Nelson
8776b2d142
Fix for Mantis bug 1841
2022-04-14 09:59:35 +01:00
Graham Nelson
fcb3dbec7e
Fix for Mantis bug 1844
2022-04-14 09:41:30 +01:00
David Kinder
07be45ff10
Merge branch 'ganelson:master' into master
2022-04-14 07:20:01 +01:00
Graham Nelson
15976401ec
Minor debugging log changes to avoid compiler warnings
2022-04-13 23:43:02 +01:00
Graham Nelson
2e55bfa0b0
Probably fix for word assemblage annotation crash
2022-04-13 22:32:57 +01:00
Graham Nelson
cdb2b8a809
Fix for Mantis bug 1846
2022-04-13 22:09:08 +01:00
David Kinder
899e3dda98
Make random()/rand() change in CWeb source
2022-04-13 21:52:12 +01:00
David Kinder
9e5d74317c
Add Windows compiler settings and ability to set a suffix for executable filenames
2022-04-13 20:28:41 +01:00
David Kinder
fbfc40b6fd
Use ANSI functions rand() and srand(), rather than POSIX random() and srandom()
2022-04-13 20:27:56 +01:00
Graham Nelson
bd758b35fc
Fix for Mantis bug 1847
2022-04-13 19:43:16 +01:00
Graham Nelson
64cb491307
Fix for Mantis bug 1850
2022-04-13 19:21:21 +01:00
Graham Nelson
d87f28fbbb
Fix for Mantis bug 1851
2022-04-13 13:10:45 +01:00
Graham Nelson
79afffa399
Fix for Mantis bug 1852
2022-04-13 12:32:48 +01:00
Graham Nelson
a1163b3377
Fix for Mantis bug 1861
2022-04-13 11:12:21 +01:00
Graham Nelson
47d441fc4a
Fix for Mantis bug 1865
2022-04-13 11:00:10 +01:00
Graham Nelson
6fae4ff940
Fix for Mantis bug 1867
2022-04-13 10:37:42 +01:00
Graham Nelson
66d2f10d33
Fix for Mantis bug 1871
2022-04-13 10:32:50 +01:00
Graham Nelson
7a29e39a40
Fix for Mantis bug 1872
2022-04-13 10:13:07 +01:00
Graham Nelson
365283e100
Fix for Mantis bug 1874
2022-04-13 09:02:01 +01:00
Graham Nelson
54a21cb840
Fix for Mantis bug 1876
2022-04-13 08:42:50 +01:00
Graham Nelson
bddb6afd0d
Fix for Mantis bug 1880
2022-04-13 08:21:59 +01:00
Graham Nelson
cf2eaaf247
Fix for Mantis bug 1891
2022-04-13 08:17:05 +01:00
Graham Nelson
9f2a6dab18
Introduced can't insert what's already inserted rule
2022-04-12 20:04:46 +01:00
Graham Nelson
4e3d771b8f
Fix and test case for Mantis bug 1897
2022-04-12 19:24:10 +01:00
Graham Nelson
6e04553d9d
Fix for Mantis bug 1838
2022-04-12 13:01:01 +01:00