I've recently recovered Ada into gcc-11.3 on Cygwin and am now trying to update the whole compiler suite to 12.3. The build runs into a problem in stage 2:
--8<---------------cut here---------------start------------->8--- make[3]: Entering directory '/mnt/share/cygpkgs/gcc/gcc.x86_64/build/gcc' /mnt/share/cygpkgs/gcc/gcc.x86_64/build/./prev-gcc/xg++ -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/./prev-gcc/ -B/usr/x86_64-pc-cygwin/bin/ -nostdinc++ -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/src/.libs -B/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/libsupc++/.libs -I/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/include/x86_64-pc-cygwin -I/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/include -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/libstdc++-v3/libsupc++ -L/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/src/.libs -L/mnt/share/cygpkgs/gcc/gcc.x86_64/build/prev-x86_64-pc-cygwin/libstdc++-v3/libsupc++/.libs -fno-PIE -c -DIN_GCC_FRONTEND -fdebug-prefix-map=/mnt/share/cygpkgs/gcc/gcc.x86_64/build=/usr/src/debug/gcc-12.3.0-0.1 -fdebug-prefix-map=/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0=/usr/src/debug/gcc-12.3.0-0.1 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Iada -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/ada -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../include -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libcpp/include -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libcody -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libdecnumber -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libdecnumber/bid -I../libdecnumber -I/mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/../libbacktrace -o ada/argv.o -MT ada/argv.o -MMD -MP -MF ada/.deps/argv.TPo /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/ada/argv.c /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected identifier before string constant 783 | #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__) | ^~~~~~~~ /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected ‘,’ or ‘...’ before string constant /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected identifier before string constant 783 | #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__) | ^~~~~~~~ /mnt/share/cygpkgs/gcc/gcc.x86_64/src/gcc-12.3.0/gcc/system.h:783:30: error: expected ‘,’ or ‘...’ before string constant make[3]: *** [Makefile:1143: ada/argv.o] Error 1 --8<---------------cut here---------------end--------------->8--- The error probably is in part a result of using g++ for the compilation, but other than that I don't really have an idea what goes on here or how to fix it. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+