Cryptlib からコードをコンパイルしようとしています。しかし、このファイルの 96 行目でエラーが発生します。
また、mingw の gthr.h でいくつかのエラーが発生しました。
Windowsでmingw 4.8.1を使用してコンパイルしています。
debug.h の 96 行目でエラーが発生しました
error: expected unqualified-id before '{' token
編集 1:
93 行目で static_assert を定義するためにファイルを変更しました。しかし、mingw から typetrait ファイルに新しいエラーが発生しました。
template<typename _Tp, typename... _Args>
struct __is_nary_constructible
: public __is_nary_constructible_impl<_Tp, _Args...>::type
{
static_assert(sizeof...(_Args) > 1,
"Only useful for > 1 arguments");
};
エラーは次のとおりです。
error: expected identifier before 'sizeof'|