Subject: Re: Source line too long?!?
To: Andy Finnell <andyf@vei.net>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 10/07/1999 04:11:17
On Wed, 6 Oct 1999, Andy Finnell wrote:

> > Some line in your code is generating an assembler line which is
> > overflowing the read buffers in the assembler.
> > 
> > Try using the -S option instead of the -c option - this will stop g++
> > before calling the assembler, so you can look at what's going to the
> > assembler. Then look around line 313 and see what's happening. :-)
> 
> A huge template is being instantiated, that's what's happening.  And by
> looking below line 313, I can see even larger lines.  Is there any way
> to rebuild the assembler so it can handle these huge lines?

Possible easier to unwind the template. "info g++"; search template;
read "Problems with the template implementation". It doesn't support
nested templates at all, which make it just not good for the kind of
c++ code they write in school, IMHO.

Does it make any difference if you use "--pipe"?