This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: error message formatting
- To: David Cogen <cogen at ll dot mit dot edu>
- Subject: Re: error message formatting
- From: "Mark Schaefer" <mschaefer at dsai dot com>
- Date: Wed, 15 Apr 1998 14:04:02 -0600
- Cc: egcs at cygnus dot com
- References: <9804150904.AA15437@LL.MIT.EDU>
- Reply-To: mschaefer at dsai dot com
Anthony and David,
Unfortunately, this is mainly due to the structure of the STL. Because
it is so template based, you're going to get those long lines. I think the SGI
compiler has some sort of line break macro that will allow it to divide a long
line response like that into something slightly more intelligible, but really,
the entire output could be extremely important to someone who had to debug
code. I had a problem due to a misplaced "const" that would have been
impossible to track down if the compiler hadn't put out long diagnostic errors
like that.
Basically, if you want simplicity, STL is probably not the way to go.
However, there are a whole lot of reasons why it pays to use STL instead of
coding and debugging your own template libraries.
Good Luck.
--
Mark Schaefer