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

Christian Ehrhardt ehrhardt@mathematik.uni-ulm.de
Mon Jan 13 05:17:00 GMT 2003

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

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


More information about the Gcc-bugs mailing list