We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Compiler Warning (level 1) C4684

'attribute' : WARNING!! attribute may cause invalid code generation: use with caution

You used an attribute that should not commonly be used.

The following sample generates C4684:

// C4684.cpp
// compile with: /W1 /LD
 [module(name="xx")]; // C4684 expected