Compiler Warning (level 1) C4142 (original) (raw)

benign redefinition of type

Remarks

A type is redefined in a manner that has no effect on the generated code.

To fix by checking the following possible causes:

Example

The following example generates C4142:

// C4142.c
// compile with: /W1
float X2;
X2 = 2.0 + 1.0;   // C4142

int main() {
   float X2;
   X2 = 2.0 + 1.0;   // OK
}