This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Small warning bug
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Small warning bug
- From: John Levon <moz at compsoc dot man dot ac dot uk>
- Date: Mon, 9 Oct 2000 14:01:48 +0100 (BST)
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