diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-01-20 23:51:50 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-01-20 23:51:50 -0800 |
commit | 366a7fba840293f54ae49108f4bc5d3d94c848c4 (patch) | |
tree | fcb82613411d437840bebbb08b9de778d562d234 /pdf-clobber-stamps.tl | |
parent | c6d7e940e105958e4303eba504cf147b7f428cdf (diff) | |
download | txr-366a7fba840293f54ae49108f4bc5d3d94c848c4.tar.gz txr-366a7fba840293f54ae49108f4bc5d3d94c848c4.tar.bz2 txr-366a7fba840293f54ae49108f4bc5d3d94c848c4.zip |
fix --no-gen-gc configuration.
This fixes only the build. I'm getting a crash in
one test case, namely tests/010/json.tl.
* lib.h (mut): Remove stray semicolon from definition.
This semicolon compensates for the lack of a semicolon
in txr.c, which becomes a syntax errror under no-gen-gc,
when the other definition of mut is active.
(mkloc, setcheck): Let's add casts of the object argument
to void. This gets rid of a number of unused parameter
errors in various functions that take an object parameter
that is only used in the case of generational GC.
* txr.c (txr_main): Add missing semicolon after mut call.
* gc.c (gc_wrap): In the no CONFIG_GEN_GC case, cast
argument full to void, since it is unused.
Diffstat (limited to 'pdf-clobber-stamps.tl')
0 files changed, 0 insertions, 0 deletions