Got this one when building with GCC11
Running internal register sanity checks on B5500 simulator.
*** Good Registers in B5500 simulator.
gcc -std=gnu99 -U__STRICT_ANSI__ -O2 -DNDEBUG=1 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -DSIM_COMPILER="GCC Version: 11.2.0" -DSIM_BUILD_TOOL=simh-makefile -I . -Werror -D_GNU_SOURCE -DHAVE_PCRE_H -DHAVE_SEMAPHORE -DHAVE_SYS_IOCTL -DHAVE_LINUX_CDROM -DSIM_HAVE_DLOPEN=so -DHAVE_EDITLINE -DHAVE_UTIME -DHAVE_LIBPNG -DHAVE_ZLIB -DHAVE_GLOB -DHAVE_SHM_OPEN ./Intel-Systems/common/i8080.c ./Intel-Systems/Intel-MDS/imds_sys.c ./Intel-Systems/common/i3214.c ./Intel-Systems/common/i8251.c ./Intel-Systems/common/i8253.c ./Intel-Systems/common/i8255.c ./Intel-Systems/common/i8259.c ./Intel-Systems/common/ieprom.c ./Intel-Systems/common/ioc-cont.c ./Intel-Systems/common/ipc-cont.c ./Intel-Systems/common/iram8.c ./Intel-Systems/common/isbc064.c ./Intel-Systems/common/isbc202.c ./Intel-Systems/common/isbc201.c ./Intel-Systems/common/isbc206.c ./Intel-Systems/common/isbc464.c ./Intel-Systems/common/isbc208.c ./Intel-Systems/common/port.c ./Intel-Systems/common/irq.c ./Intel-Systems/common/multibus.c ./Intel-Systems/common/mem.c ./Intel-Systems/common/sys.c ./Intel-Systems/common/zx200a.c ./scp.c ./sim_console.c ./sim_fio.c ./sim_timer.c ./sim_sock.c ./sim_tmxr.c ./sim_ether.c ./sim_tape.c ./sim_disk.c ./sim_serial.c ./sim_video.c ./sim_imd.c ./sim_card.c -I ./Intel-Systems/Intel-MDS -o BIN/intel-mds -lm -lrt -lpthread -lpcre -ldl -ledit -ltermcap -lpng -lz -lvdeplug -Wl,-R,/usr/lib64/ -L/usr/lib64/
./Intel-Systems/common/isbc208.c:441: error: "BC" redefined [-Werror]
441 | #define BC 0x02 /* Bad cylinder */
|
In file included from ./Intel-Systems/common/isbc208.c:398:
./Intel-Systems/Intel-MDS/system_defs.h:36: note: this is the location of the previous definition
36 | #define BC BC_Global
|
cc1: all warnings being treated as errors
make: *** [makefile:2756: BIN/intel-mds] Error 1
Got this one when building with GCC11
Running internal register sanity checks on B5500 simulator.
*** Good Registers in B5500 simulator.
gcc -std=gnu99 -U__STRICT_ANSI__ -O2 -DNDEBUG=1 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -DSIM_COMPILER="GCC Version: 11.2.0" -DSIM_BUILD_TOOL=simh-makefile -I . -Werror -D_GNU_SOURCE -DHAVE_PCRE_H -DHAVE_SEMAPHORE -DHAVE_SYS_IOCTL -DHAVE_LINUX_CDROM -DSIM_HAVE_DLOPEN=so -DHAVE_EDITLINE -DHAVE_UTIME -DHAVE_LIBPNG -DHAVE_ZLIB -DHAVE_GLOB -DHAVE_SHM_OPEN ./Intel-Systems/common/i8080.c ./Intel-Systems/Intel-MDS/imds_sys.c ./Intel-Systems/common/i3214.c ./Intel-Systems/common/i8251.c ./Intel-Systems/common/i8253.c ./Intel-Systems/common/i8255.c ./Intel-Systems/common/i8259.c ./Intel-Systems/common/ieprom.c ./Intel-Systems/common/ioc-cont.c ./Intel-Systems/common/ipc-cont.c ./Intel-Systems/common/iram8.c ./Intel-Systems/common/isbc064.c ./Intel-Systems/common/isbc202.c ./Intel-Systems/common/isbc201.c ./Intel-Systems/common/isbc206.c ./Intel-Systems/common/isbc464.c ./Intel-Systems/common/isbc208.c ./Intel-Systems/common/port.c ./Intel-Systems/common/irq.c ./Intel-Systems/common/multibus.c ./Intel-Systems/common/mem.c ./Intel-Systems/common/sys.c ./Intel-Systems/common/zx200a.c ./scp.c ./sim_console.c ./sim_fio.c ./sim_timer.c ./sim_sock.c ./sim_tmxr.c ./sim_ether.c ./sim_tape.c ./sim_disk.c ./sim_serial.c ./sim_video.c ./sim_imd.c ./sim_card.c -I ./Intel-Systems/Intel-MDS -o BIN/intel-mds -lm -lrt -lpthread -lpcre -ldl -ledit -ltermcap -lpng -lz -lvdeplug -Wl,-R,/usr/lib64/ -L/usr/lib64/
./Intel-Systems/common/isbc208.c:441: error: "BC" redefined [-Werror]
441 | #define BC 0x02 /* Bad cylinder */
|
In file included from ./Intel-Systems/common/isbc208.c:398:
./Intel-Systems/Intel-MDS/system_defs.h:36: note: this is the location of the previous definition
36 | #define BC BC_Global
|
cc1: all warnings being treated as errors
make: *** [makefile:2756: BIN/intel-mds] Error 1