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]
Other format: [Raw text]

Re: c/7755: Please make -Wno-deprecated do just that


On Wed, Jan 08, 2003 at 10:27:29AM -0800, H. Peter Anvin wrote:
> bangerth@dealii.org wrote:
> > Synopsis: Please make -Wno-deprecated do just that
>  [ ... ]
> Attached is a very simple testcase, which demonstrates the problem quite
> well.
> [ ... ]

>From the info file of gcc:
`-Wno-deprecated (C++ only)'
     Do not warn about usage of deprecated features.  *Note Deprecated
     Features::.

I.e. -Wno-deprecated is C++ only and for me g++ rejects the sample
code with a syntax error. So this works as advertised.

   regards  Christian

-- 
THAT'S ALL FOLKS!


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