STL 错误信息解释器 (STL Error Message Decryptor for C++ )

  • Post author:
  • Post category:其他



http://www.bdsoft.com/tools/stlfilt.html

这个工具不错,可以对STL出错信息进行过滤处理,让信息容易看懂!

Linux 用法:

1. 下载

gstlfilt.tar

2.  gfilt g++ test.cpp

STLFilt:

An STL Error Message Decryptor for C++



Open Source Freeware by Leor Zolman, Supporting:



STLFilt-ing is now selectable on both the

Comeau

and

Dinkumwar




e

online compiler pages!


Now compatible with ALL Visual Studio 200x IDEs !!!


Participate in the

STLFilt Forum

on the new

BD Software Message Board

!






STLFilt simplifies and/or reformats long-winded C++ error and warning messages, with a focus on STL-related diagnostics (and for MSVC 6, it fully eliminates C4786 warnings and their detritus). The result renders many of even the most cryptic diagnostics comprehensible. Here is the

rationale

.

The active ingredient in each distribution is a Perl script, so you’ll need a Perl interpreter installed;

ActivePerl

works best, and it’s free.

The downloads follow, organized by platform:


  • Microsoft Visual C++

    6/7/8/9:

    stlfilt.zip

    (484K, updated

    10/22/2007

    ). Includes the “Proxy” CL compiler, multi-platform-aware STLTask tray-resident control utility (

    screen shot

    ), and support for long type-name wrapping (see the gcc section below). Demo runs:

    VC6


    VC7+


    long type-names

    . Supports both the IDE

    and

    command line environments, in conjunction with any or all of the following C++ libraries:


  • gcc

    2.9x/3.x/4.x (tested under MinGW up to


    4.1.1


    , and under TDM gcc





版权声明:本文为sohochaser原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。