visual studio 2019でvc++を使っていますがダイナミックキャストでエラーが出て困っております。
CPP
1 try{ 2 this->decodeIF2 = dynamic_cast<IB25Decoder2 *>(this->decodeIF); 3 if( this->decodeIF2 != NULL ){ 4 //this->decodeIF2->EnableEmmProcess(false); 5 this->decodeIF2->DiscardNullPacket(true); 6 this->decodeIF2->DiscardScramblePacket(false); 7 this->decodeIF2->EnableEmmProcess(this->emmEnable); 8 } 9 } 10 catch(std::__non_rtti_object){ 11 this->decodeIF2 = NULL; 12 }
このcatchのところでエラーになってしまい
エラー C2039 '__non_rtti_object': 'std' のメンバーではありません。
となってしまいます。
そこでC++のコンパイルオプション/GRをつけてみましたが状況は変わりませんでした。
なにか知っている人はいませんか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/06/03 08:50