This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Doxygen-users] Re: Behaviors of `gcc -E -C'
- To: Zack Weinberg <zack at codesourcery dot com>
- Subject: Re: [Doxygen-users] Re: Behaviors of `gcc -E -C'
- From: Patrick Ohly <Patrick dot Ohly at pallas dot com>
- Date: Fri, 12 Oct 2001 08:58:57 +0200
- Cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>, Roberto Bagnara <bagnara at cs dot unipr dot it>, Doxygen mailing list <doxygen-users at lists dot sourceforge dot net>, gccbugs <gcc-bugs at gcc dot gnu dot org>, ppl-devel at cs dot unipr dot it, gcc-patches at gcc dot gnu dot org
- References: <3BC164FE.47E72D70@cs.unipr.it> <20011008191012.B32030@daikokuya.demon.co.uk> <20011011202725.D379@codesourcery.com>
On Thu, Oct 11, 2001 at 08:27:25PM -0700, Zack Weinberg wrote:
> On Mon, Oct 08, 2001 at 07:10:12PM +0100, Neil Booth wrote:
> > There are various issues with -C which are not good. It saves
> > comments within a macro expansion, so that each invocation reproduces
> > the comment.
>
> I don't remember why we tried to do this in the first place. Until
> someone can remember why, turning them off again seems like a sensible
> plan.
I really like the idea of seeing the comments inside a macro after
expansion, because we are forced to use C and substitute templates
with some heavy use of the preprocessor. Debugging this is a nightmare,
and comments in the expanded code would help a lot.
I have tried it a while ago with egcs 2.91.66, which didn't work all
that well, but it seems that I should give it a second go with a more recent
version. Please, if you can keep this feature alive, then try it -
it is appreciated ;-)
--
Freundliche Gruesse / Best Regards
Patrick Ohly
Software Engineer
--------------------------------------------------------------------
//// pallas
Pallas GmbH / Hermuelheimer Str. 10 / 50321 Bruehl / Germany
Patrick.Ohly@pallas.com / www.pallas.com
Tel +49-2232-1896-30 / Fax +49-2232-1896-29
--------------------------------------------------------------------