Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

prototype revisions

Alan_S_2
Beginner
223 Views
I'm converting from Intel v10 to Intel v11 (C++). The code compiles in Intel V10 (+gcc, vs, pgi) but gives an error in v11. What is the correct fix? prototype: template inline T Pyramid5CalcVol( const T xv[][GL_MDIM] ); client code (PYRAMID_NNODE==5,GL_MDIM==3): REAL xv_[PYRAMID_NNODE][GL_MDIM]; .. return ::Pyramid5CalcVol(xv_); error message: ./../src/como_geomlib/geomlib_pyramid5.cpp(125): error: no instance of function template "Pyramid5CalcVol" matches the argument list argument types are: (REAL [5][3]) return ::Pyramid5CalcVol(xv_);
0 Kudos
1 Reply
Dale_S_Intel
Employee
223 Views

Any chance you could provide an actual test case? If you don't have a reduced test case that you want to post publicly, you can respond in a private thread or submit an issue at premier.intel.com.

Thanks!

Dale

0 Kudos
Reply