This documentation is archived and is not being maintained.

Compiler Error C3409

empty attribute block is not allowed

The square brackets were interpreted by the compiler as an attribute block, but no attributes were found.

The following sample generates C3409:

// C3409.cpp
[] // C3409, specify the coclass attribute?
class a {

int main(){