When building against this GNAT GCC version 4.3 PolyORB fails miserably with several warning messages (which I found is weird: I don't think the build should fail due to warning messages) Reproducible: Always Steps to Reproduce: 1. echo i686-pc-linux-gnu-gnat-gcc-4.3 > /etc/ada/primary_compilers 2. emerge polyorb 3. Actual Results: make[3]: Entrando no diretório `/var/tmp/portage/dev-ada/polyorb-2.1.0/work/LocalSource/compilers/idlac' gnatmake -m -I. -I. idlac -cargs -g -O2 -gnatg -gnatfy -gnatwae -gnatpn -bargs -margs gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idlac.adb gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be.ads gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-expansion.adb gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-idl2ada.adb gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-mappings.ads gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-mappings-corba.adb gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn ada_be-source_streams.adb gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn errors.adb gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe.ads gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe-files.adb gnatgcc -c -I. -I. -g -O2 -gnatg -gnatfy -gnatwae -gnatpn idl_fe-parser.adb idl_fe-parser.adb:2232:44: warning: formal parameter "Result" is not modified idl_fe-parser.adb:2232:44: warning: mode could be "in" instead of "in out" idl_fe-parser.adb:8544:33: warning: formal parameter "Node" is not modified idl_fe-parser.adb:8544:33: warning: mode could be "in" instead of "in out" idl_fe-parser.adb:9052:25: warning: formal parameter "Res" is not modified idl_fe-parser.adb:9052:25: warning: mode could be "in" instead of "in out" idl_fe-parser.adb:9073:07: warning: formal parameter "Res" is not modified idl_fe-parser.adb:9073:07: warning: mode could be "in" instead of "in out" idl_fe-parser.adb:9094:25: warning: formal parameter "Res" is not modified idl_fe-parser.adb:9094:25: warning: mode could be "in" instead of "in out" idl_fe-parser.adb:9111:07: warning: formal parameter "Res" is not modified idl_fe-parser.adb:9111:07: warning: mode could be "in" instead of "in out" idl_fe-parser.adb:9148:07: warning: formal parameter "Res" is not modified idl_fe-parser.adb:9148:07: warning: mode could be "in" instead of "in out" idl_fe-parser.adb:9164:07: warning: formal parameter "Res" is not modified idl_fe-parser.adb:9164:07: warning: mode could be "in" instead of "in out" gnatmake: "idl_fe-parser.adb" compilation error Expected Results: should compile and install fine
(In reply to comment #0) > When building against this GNAT GCC version 4.3 PolyORB fails miserably with > several warning messages (which I found is weird: I don't think the build > should fail due to warning messages) It's not so weird, the package has "treat warnings as errors" switched on.
(In reply to comment #1) > It's not so weird, the package has "treat warnings as errors" switched on. so, shouldn't it be switched off then?
removed from the tree