Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Compiler Warning (level 1) C4832

Error Message

token 'token' is illegal after UDT 'type name'

A member of a UDT (user-defined type, such a class or struct) was qualified incorrectly. The compiler issues this warning and proceeds as if the qualification was specified correctly.

The following sample generates C4832:

// C4832.cpp
// compile with: /W1
struct A {
   enum { e };

int main() {
   return A.e;   // C4832
   // try the following line instead
   // return A::e;

Community Additions

© 2015 Microsoft