0
私は静的libyaraライブラリをコンパイルし、それは私のプログラムにうまくコンパイルVC 2013を使用してlibyaraとprotobufsの両方を使用するプログラムをコンパイルしようとしています。私のprotobufsのためのヘッダーファイルを追加したら、物事はひどく遅くなる...速い。私が持っている問題はヘッダーが正しくないように見えますが、私はMSのサプライ品ヘッダファイルが正しいと仮定します。ここに私が行方不明のトリックはありますか?これは、コンパイルからの部分出力です。コンパイルProtobufsとLibyara
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(214): warning C4602: #pragma pop_macro : 'new' no previous #pragma push_macro for this identifier
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(215): warning C4193: #pragma warning(pop) : no matching '#pragma warning(push)'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtgmath.h(216): warning C4161: #pragma pack(pop...) : more pops than pushes
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(23): error C2061: syntax error : identifier 'abs'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(23): error C2059: syntax error : ';'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(23): error C2061: syntax error : identifier 'acos'
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\cmath(23): error C2061: syntax error : identifier 'asin'
これを修正する方法に関する提案はありますか?これはCライブラリ(libyara)とC++ライブラリ(protobuf)の混合に関連していますか?