Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'void' illegal with all types
The void
type is used in a declaration with another type.
The following sample generates C2120:
// C2120.cpp
int main() {
void int i; // C2120
int j; // OK
}