Compilerfehler C3140

Es können nicht mehrere "module"-Attribute in der gleichen Kompilationseinheit vorhanden sein

Das module-Attribut kann nur einmal pro Projekt definiert werden.

Im folgenden Beispiel wird C3140 generiert:

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