Enabling TED debug messages by uncommenting the following options in tedtypes.h is broken:
/* Debugging options. */
/* #define TED_VMODE_DEBUG */
/* #define TED_RASTER_DEBUG */
/* #define TED_REGISTERS_DEBUG */
It produces a lot of errors like:
../../../vice-git/src/plus4/ted-irq.c:155:23: error: passing argument 1 of ‘log_debug’ makes integer from pointer without a cast [-Wint-conversion]
155 | TED_DEBUG_RASTER(("TED: update_raster_irq(): "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
../../../vice-git/src/plus4/tedtypes.h:376:39: note: in definition of macro ‘TED_DEBUG_RASTER’
376 | #define TED_DEBUG_RASTER(x) log_debug x
| ^
Looks like the call to log_debug is missing the first parameter