Compiler Error C3087
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 Error C3087.
named_argument': call of 'attribute' already initializes this member
A named argument was specified in the same attribute block as an unnamed argument for the same value. Specify only a named or unnamed argument.
The following sample generates C3087.
// C3087.cpp
// compile with: /c
[idl_quote("quote1", text="quote2")]; // C3087
[idl_quote(text="quote3")]; // OK
[idl_quote("quote4")]; // OK
Show: