Intel® C++ Compiler for Windows* - error: parameter type involves reference to array of unknown bound

The Intel® C++ Compiler 10.0 for Windows* in Microsoft Visual C++* 2005 compatibility mode (/Qvc8) does not accept a reference parameter whose type involves an array type with an unspecified bound. This is due to Microsoft Visual C++ 2005 no longer accepting this syntax. For example:

void f(int (&)[]);    // No longer allowed
void f(int (*&)[]);   // Still allowed
void f(int (*)[]);     // Still allowed
void f(int (**)[]);    // Still allowed


The error you would get on the first line would be:

error: parameter type involves reference to array of unknown bound

For more complete information about compiler optimizations, see our Optimization Notice.