This documentation is archived and is not being maintained.

Compiler Warning (level 1) C4185

ignoring unknown #import attribute 'attribute'

The attribute is not a valid attribute of #import. It is ignored.

Example

// C4185.cpp
// compile with: /W1 /LD
#import "olepro32.dll" no_such_attribute  // C4185
Show: