编译器错误 C3140

同一编译单元中不能有多个“module”属性

每个项目只能定义一次 module 属性。

下面的示例生成 C3140:

// C3140.cpp
// compile with: /c
[emitidl];
[module(name = "MyLibrary")];
[module(name = "MyLibrary2")];   // C3140