This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] warn_synth considered obsolete
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc at integrable-solutions dot net, gcc at gcc dot gnu dot org, jason at redhat dot com
- Date: 04 Jan 2005 21:48:50 +0100
- Subject: Re: [C++] warn_synth considered obsolete
- Organization: Integrable Solutions
- References: <m13bxkuf41.fsf@uniton.integrable-solutions.net><41D8B295.7000302@codesourcery.com>
Mark Mitchell <mark@codesourcery.com> writes:
[...]
| > from cp/call.c:build_new_op(). That removal would make the switch
| > actually unused; consequently I propose to deprecate it.
|
| There's no point in deprecating an option that isn't used for
| anything; we deprecate things only when we're leaving them
| operational, but warning users that they're going away. In this case,
| I think it's fine to remove the code, but then you should also update
| the manual, the changes HTML page. You should also make sure that the
| compiler still accepts the option. (In that sense, the option would
| indeed be deprecated.)
|
| Such a patch is OK, as it is a low-risk way of solving this regression.
OK.
Out of curiosity, how many such options do we have around,
i.e. options silently accepted but doing nothing?
-- Gaby