FIX: No C4051 Warnings Compiling .CPP or .CXX Files
Article ID: 100539
Article Last Modified on 7/5/2005
APPLIES TO
- Microsoft C/C++ Professional Development System 7.0
- Microsoft Visual C++ 1.0 Professional Edition
- Microsoft Visual C++ 1.5 Professional Edition
- Microsoft Visual C++ 1.0 Professional Edition
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.
Additional query words: 1.00 1.50 7.00 8.00 8.00c
Keywords: kbbug kbfix kbcpponly kbcompiler KB100539