intel compiler for Linux
■ このスレッドは過去ログ倉庫に格納されています
0306ldb
02/09/24 14:51ID:V9bNhhGg環境
OS:Redhat7.2ja
Compiler Version:6.0.1
エラー内容
次のようなプログラムを作成
#include <iostream>
using namespace std;
int main(){
cout << "Hello World!" << endl;
return 0;
}
次のようにコンパイル
% icc -o hello hello.cpp -g
で、デバッグする
% ldb hello
すると次のようなエラーが出て強制終了する
Linux Application Debugger for 32-bit applications, Version 6.0, Build 20020521.Copyright (c) 2001-2002 Intel Corporation. All Rights Reserved.
Assertion failure: 0, file ../../src/ST/intel/iCUInfo.C, line 409
このあといろいろ試した結果、coutをprintfに置き換えるとうまく動いた。
またSTLを使用したプログラムを作成しデバッグをかけてみたが、
同じエラーで終了してしまう。つまりC++プログラム特有の文を書くとだめになる?
■ このスレッドは過去ログ倉庫に格納されています