restrictキーワードを使用してエラー
-
22-09-2019 - |
質問
次の例では
void foo (double *ptr)
{
const double * restrict const restr_ptr=ptr;
}
私はこのエラーを取得します:
error: expected a ";" const double * restrict const restr_ptr=ptr;
^
Iコンパイルと-std = C99、GCC 3.4を使用して
任意のアイデア?
所属していません StackOverflow