This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: templates lead to horrendous error messages
- To: Dave Steffen <steffend at glitch dot physics dot colostate dot edu>
- Subject: Re: templates lead to horrendous error messages
- From: Kaz Kylheku <kaz at espresso dot cafe dot net>
- Date: Mon, 8 Jun 1998 02:01:51 -0700 (PDT)
- cc: egcs at cygnus dot com
On Sun, 7 Jun 1998, Dave Steffen wrote:
> Hi Folks,
>
> Allow me to pick a nit: lately I've gotten fancy with templates,
> which means that now if I screw something up (like forgetting to
> put a .c_str() on the end of a string when sending it off to a
> function that wants a char*), I get error messages that look like
> this:
Welcome to C++. This problem isn't unique to the GNU compiler.
With Microsoft's compiler, for example, you trigger a whole flood
of warning messages informing you that in building the debugging
information, symbols had to be truncated to 256 characters.
What's worse, their warning cannot be disabled on the command line,
only with a #pragma.