This is the mail archive of the gcc@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: templates lead to horrendous error messages




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.



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