关于Intel的编译器
有这么一段代码
在VC++编译器里面没有问题,换了Intel编译器V7,加以OpenMP以后就不通过了
代码如下:
template <class T> static double ffun::CalFFTCostValue(GrayImage< complex<T> >& I)
{
double costValue = 0;
const int W_new = 32;
const int H_new = 32;
GrayImage< complex<T> > I_resized;
ImgResize(I, I_resized, H_new, W_new);
GrayImage< complex<T> > X;
FFT2(I_resized, X);
return abs(X(1, 2)) + abs(X(2, 1));
}
提示error:a storage class may not be specified here