Export (0) Print
Expand All
Expand Minimize

Compiler Error C3106

'attribute': unnamed arguments must precede named arguments

Unnamed arguments must be passed to an attribute before named arguments.

For more information, see User-Defined Attributes (C++ Component Extensions).

The following sample generates C3106.

// C3106.cpp
// compile with: /c
[module(name="MyLib", dll)];   // C3106
[module(dll, name="MyLib")];   // OK
Show:
© 2015 Microsoft