This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/7755: Please make -Wno-deprecated do just that
- From: "Christian Ehrhardt" <ehrhardt at mathematik dot uni-ulm dot de>
- To: "H. Peter Anvin" <hpa at zytor dot com>
- Cc: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Wed, 8 Jan 2003 21:00:43 +0100
- Subject: Re: c/7755: Please make -Wno-deprecated do just that
- References: <20030108021719.22609.qmail@sources.redhat.com> <3E1C6D91.6050205@zytor.com>
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!