Hi,
I am using VC7 compiler, my code uses STL a lot. I find that, if
there are some code error, the compiler prints out a lot of error
messages, most of them are about STL, for example,

c:\STL\export\stdexcept(74) : see reference to class template
instantiation '_STL::basic_s
ring<_CharT,_Traits,_Alloc>' being compiled
with
[
_CharT=char,
_Traits=_STL::char_traits<char>,
_Alloc=_STL::allocator<char>
]

While the real problem is in my code, even though VC compiler
correctly indentifies the error line, with so many STL messages, it is
hard to look for the real error message.

I wonder if there are some way to supress them?

Re: How to supress the compile error on STL code? by Mark

Mark
Fri Jun 23 14:06:44 CDT 2006

<linq936@hotmail.com> wrote in message
news:1151089321.474791.274920@u72g2000cwu.googlegroups.com...
> Hi,
> I am using VC7 compiler, my code uses STL a lot. I find that, if
> there are some code error, the compiler prints out a lot of error
> messages, most of them are about STL, for example,

Look for lines prefixed with 'Error'

--
- Mark Randall
http://www.temporal-solutions.co.uk

"We're Systems and Networks..."
"It's our job to know..."



Re: How to supress the compile error on STL code? by Tamas

Tamas
Fri Jun 23 14:36:31 CDT 2006

linq936@hotmail.com wrote:

> I am using VC7 compiler, my code uses STL a lot. I find that, if
> there are some code error, the compiler prints out a lot of error
> messages, most of them are about STL

Try STLFilt, which makes bloated and cryptic STL error messages much
more readable:
http://www.bdsoft.com/tools/stlfilt.html

Here's a demo run:
http://www.bdsoft.com/dist//msvc7-demo.txt

Tom