Compiler Warning (level 4) C4515
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Warning (level 4) C4515

Error Message

'namespace' : namespace uses itself

A namespace is used recursively.

The following sample generates C4515:

// C4515.cpp
// compile with: /W4
namespace A
{
   using namespace A; // C4515
}

int main()
{
}
Show:
© 2016 Microsoft