This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: new flag to say when things are synthesized
- To: Brendan Kehoe <brendan at zen dot org>
- Subject: Re: PATCH: new flag to say when things are synthesized
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 09 Nov 2000 03:10:02 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <3A09B3DD.3060207@zen.org>
Brendan Kehoe <brendan@zen.org> writes:
| Similar to the instantiation patch, this flag helps people know when various
| parts of a class have been synthesized quietly for them by the compiler.
| (And, in part, help them when they try to figure out when something they
| thought was going to be created in fact wasn't, because its base ctor was
| non-trivial or whatever...)
|
| Ok?
|
|
| B
|
| 2000-11-08 Brendan Kehoe <brendan@zen.org>
|
| * decl2.c (warn_did_synth): New variable.
| (lang_decode_option): Set WARN_DID_SYNTH if -Wdid-synth.
| * lang-options.h: Add -Wdid-synth/-Wno-did-synth.
What about -Wsynthetizations mirroring -Winstanciations?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com