Small warning bug

John Levon moz@compsoc.man.ac.uk
Mon Oct 9 06:02:00 GMT 2000


Reading specs from
/usr/local/bin/../lib/gcc-lib/i386-pc-linux-gnu/2.97/specs
gcc version 2.97 20001005 (experimental)         

(codesourcery RPM)


moz disk 174 g++ -W -Wno-return-type-ffunction-sections -o a a.C 
cc1plus: warning: Ignoring command line option 
'-Wno-return-type-ffunction-sections'
cc1plus: warning: (It is valid for C++ but not the selected language) 

a.C can contain whatever (e.g. "main(){}")

This is on a Linux system

thanks
john




More information about the Gcc-bugs mailing list