Foros: 開発者 (Thread #26992)

コンパイラ毎のエラー状況 (2010-07-31 22:13 by cielquis #52261)

このスレッドは,コンパイラ毎のコンパイル・エラー状況をメモするためのものです.確認に使用しているコンパイラは,g++ 4.3.4, Visual Studio 2010, Borland C++ Compiler 5.5 です.また,確認に使用しているものは,clx_example としてアップロードしているサンプルコード群です.尚,example_static_check.cpp は意図的にコンパイルエラーを発生させているので,除外しています.

1. g++ 4.3.4
1.1 wchar_t 関連
g++ -I.. -Wall example_code_convert.cpp -lm -lpthread -lcrypto -lssl -lz ... failed
g++ -I.. -Wall example_json.cpp -lm -lpthread -lcrypto -lssl -lz ... failed
g++ -I.. -Wall example_wcstring.cpp -lm -lpthread -lcrypto -lssl -lz ... failed

2. Visual Studio 2010
特になし

3. Borland C++ Compiler 5.5
3.1 code_convert.h 絡み(char <-> wchar_t 変換)
bcc32.exe -I.. -w-8057 example_code_convert.cpp ... failed
bcc32.exe -I.. -w-8057 example_json.cpp ... failed
※json クラスは,code_convert を使わなければ (char だけで処理など)使用できるはず.

3.2 istream_utility 絡み
bcc32.exe -I.. -w-8057 example_istream_utility.cpp ... failed
bcc32.exe -I.. -w-8057 example_combine_2.cpp ... failed
bcc32.exe -I.. -w-8057 example_filetype.cpp ... failed

3.3 smtp の機能を制限した事に起因するもの
bcc32.exe -I.. -w-8057 example_smtp_list.cpp ... failed
※独自の送信クラスを指定する方法は使用できない.

RE: コンパイラ毎のエラー状況 (2010-08-01 14:54 by cielquis #52263)

Borland C++ Compiler での istream_utility.h 絡みの問題を修正.

1. g++ 4.3.4
1.1 wchar_t 関連
g++ -I.. -Wall example_code_convert.cpp -lm -lpthread -lcrypto -lssl -lz ... failed
g++ -I.. -Wall example_json.cpp -lm -lpthread -lcrypto -lssl -lz ... failed
g++ -I.. -Wall example_wcstring.cpp -lm -lpthread -lcrypto -lssl -lz ... failed

2. Visual Studio 2010
特になし

3. Borland C++ Compiler 5.5
3.1 code_convert.h 絡み(char <-> wchar_t 変換)
bcc32.exe -I.. -w-8057 example_code_convert.cpp ... failed
bcc32.exe -I.. -w-8057 example_json.cpp ... failed
※json クラスは,code_convert を使わなければ (char だけで処理など)使用できるはず.

3.2 smtp の機能を制限した事に起因するもの
bcc32.exe -I.. -w-8057 example_smtp_list.cpp ... failed
※独自の送信クラスを指定する方法は使用できない.
Responder al #52261