Whilst toying a bit with my developement setup, i.e. the abillity to easily switch between various compilers, I got this partitcular output when using 'gcc-6':
Code: Select all
gcc-6 -DCOMPVERS="GCC_6.4.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wno-fallthrough -DDEBUG -DGCC -gstabs
SDK:gcc/ppc-amigaos/bin/libexec/gcc/ppc-amigaos/6.4.0/cc1 requires newlib.library 53.68 or newer!
SDK:gcc/ppc-amigaos/bin/libexec/gcc/ppc-amigaos/6.4.0/cc1 faalt returncode 20
make: *** [ProjecT.DEBUG] Error 1
(Partial output from other contenders:)
gcc-8 -DCOMPVERS="GCC_8.4.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wimplicit-fallthrough=0 -DDEBUG -DGCC -gstabs
In file included from main.c:265:
Events/Rx_Events.c: In function 'Rx_Quit':
Events/Rx_Events.c:12:31: warning: unused parameter 'Cmd' [-Wunused-parameter]
void Rx_Quit(struct ARexxCmd *Cmd, struct RexxMsg *Msg)
~~~~~~~~~~~~~~~~~^~~
gcc-10 -DCOMPVERS="GCC_10.3.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wimplicit-fallthrough=0 -DDEBUG -DGCC -gstabs
In file included from main.c:265:
Events/Rx_Events.c: In function 'Rx_Quit':
Events/Rx_Events.c:12:31: warning: unused parameter 'Cmd' [-Wunused-parameter]
12 | void Rx_Quit(struct ARexxCmd *Cmd, struct RexxMsg *Msg)
| ~~~~~~~~~~~~~~~~~^~~
gcc-11 -DCOMPVERS="GCC_11.2.0" -DPROGNAME="Arexx-Test" -DPROGREVN="1" -DPROGVERS="0" -DUSE_WBRUN -DUSE_SINGLERUNNING -DUSE_AREXX main.c -o ProjecT.DEBUG -Wall -Wextra -Winline -Wunreachable-code -Wstack-protector -Wimplicit-fallthrough=0 -DDEBUG -DGCC -gstabs
In file included from main.c:265:
Events/Rx_Events.c: In function 'Rx_Quit':
Events/Rx_Events.c:12:31: warning: unused parameter 'Cmd' [-Wunused-parameter]
12 | void Rx_Quit(struct ARexxCmd *Cmd, struct RexxMsg *Msg)
| ~~~~~~~~~~~~~~~~~^~~
And also interesting: why is one compiler version requiring it, while others happily dance to the tune provided.
OldFart
P.s.: forgot to mention that newlib.library's current version installed is V53.62 as per OS 4.1 update 2