This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Doxygen-users] Re: Behaviors of `gcc -E -C'


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
--------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]