わいえむねっと

Contents
Categories
Calendar
2007/04
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Monthly Archives
~2000/01
Recent Entries
RSS1.0
Templates
Information
Processed: 0.019 sec
Chashed: -
2007/04/06 Fri
STLFilt。
STL絡みのよくわからないエラーメッセージをどうにかするフィルタ。
gccでしか試していないけど、VisualC++にも対応している模様。
アーカイブに含まれるgfiltとgSTLFilt.plを適当に配置して、gfiltの下記あたりを環境に合わせて書き換える。

COMPILER=c++                            # Your g++ compiler command
STLFILT=$HOME/gSTLFilt.pl               # Where you've placed the Perl script

あとはコンパイラをgfiltに置き換えてコンパイルするだけ。
エラーメッセージがどうにかなって出力されるので、唸ったり納得したりする。
http://www.bdsoft​.com/tools/stlfilt.ht​ml