Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
'module': cannot specify different module attributes in a project
Remarks
module attributes with different parameter lists were found in two of the files in a compilation. Only one unique module attribute can be specified per compilation.
Identical module attributes can be specified in more than one source code file.
Example
For example, if the following module attributes were found:
// C3171.cpp
[ module(name="MyModule", uuid="373a1a4e-469b-11d3-a6b0-00c04f79ae8f", version="1.0") ];
int main() {}
And then,
// C3171b.cpp
// compile with: C3171.cpp
// C3171 expected
[ module(name="MyModule", uuid="373a1a4e-469b-11d3-a6b0-00c04f79ae8f", version="1.1") ];
the compiler would generate C3171 (note the different version values).