-
22-09-2019 - |
题
在下面的示例:
void foo (double *ptr)
{
const double * restrict const restr_ptr=ptr;
}
我得到这个错误:
error: expected a ";" const double * restrict const restr_ptr=ptr;
^
予编译与-std = C99,使用gcc 3.4
任何想法?
解决方案
不隶属于 StackOverflow