Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
module attribute was not specified
Remarks
A program that uses Visual C++ attributes did not also use the module attribute, which is required in any program that uses attributes.
Example
The following example generates C3174:
// C3174.cpp
// C3174 expected
// uncomment the following line to resolve this C3174
// [module(name="x")];
[export]
struct S
{
int i;
};
int main()
{
}