This documentation is archived and is not being maintained.

Compiler Warning (level 1) C4176

'subcomponent' : unknown subcomponent for #pragma component browser

The component pragma contains an invalid subcomponent. To exclude references to a particular name, you must use the references option before the name.

// C4176.cpp
// compile with: /W1 /LD
#pragma component(browser, off, i)  // C4176
#pragma component(browser, off, references, i) // ok
Show: