This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Small warning bug



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]