Export (0) Print
Expand All
Expand Minimize

Compiler Error C3159

Error Message

'pointer' : array of pointers to value type cannot be declared

An array of pointers to a value type cannot be declared.

C3159 is only reachable using /clr:oldSyntax.

The following sample generates C3159:

// C3159.cpp
// compile with: /clr:oldSyntax
#using <mscorlib.dll>

__value struct B {
};

void f( B*[] );   // C3159

int main() {
}

Community Additions

ADD
Show:
© 2014 Microsoft