Compiler Warning (level 1) C4684
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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 [no_injected_text];
Show: