FIX: No C4051 Warnings Compiling .CPP or .CXX Files (100539)
The information in this article applies to:
- Microsoft C/C++ for MS-DOS 7.0
- Microsoft Visual C++ for Windows, 16-bit edition 1.0
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++, 32-bit Editions 1.0
This article was previously published under Q100539 SYMPTOMS
When Microsoft C/C++ compiles a source code file that has the .CPP or .CXX
filename extension, the compiler does not generate any C4051 warning
messages. However, when Microsoft C/C++ compiles a source code file that
contains similar code but that has the .C filename extension, the compiler
correctly generates C4051 warning messages as follows:
C4051: type conversion; possible loss of data
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This problem was corrected in Visual C++
32-bit Edition version 2.0.
Modification Type: | Minor | Last Reviewed: | 7/5/2005 |
---|
Keywords: | kbbug kbCompiler kbCPPonly kbfix KB100539 |
---|
|