This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: new flag to say when things are synthesized
- To: gcc-patches at gcc dot gnu dot org, "David R. Linn" <drl at vuse dot vanderbilt dot edu>
- Subject: Re: PATCH: new flag to say when things are synthesized
- From: Brendan Kehoe <brendan at zen dot org>
- Date: Thu, 09 Nov 2000 20:35:33 +0000
David ran into an ORBS hassle getting this message to the list, so I'm
sending it on for him.
B
Date: Thu, 9 Nov 2000 08:15:11 -0600 (CST)
From: "David R. Linn" <drl@vuse.vanderbilt.edu>
Reply-To: "David R. Linn" <drl@vuse.vanderbilt.edu>
Subject: Re: PATCH: new flag to say when things are synthesized
To: gcc-bugs@gcc.gnu.org
Message-Id: <200011091415.IAA29024@mailhost1.vuse.vanderbilt.edu>
>> | 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?
Counterproposal:
Make such things "notes" instead of "warnings" and use a different
name space. I applaud the idea of instrumenting the compiler in
this way but I think that calling such a note a "warning" muddies
the concept of "warning" unnecessarily.
------------- End Forwarded Message -------------
--
Brendan Kehoe
CTO of Nobie.com (http://www.nobie.com/)
-- Finally true Net marketing in .ie