C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C1852
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Fatal error C1852
 
     'filename' is not a valid precompiled header file
 
     The given filename is not a precompiled header file.
 
     Make sure that all /Yu command-line option and #pragma hdrstop
     statements specify valid precompiled header files. The compiler
     assumes the .PCH extension if none is provided.
 
     This error is caused by giving the filename of a file that
     is not a precompiled header, such as an .HPP file.
                                    -♦-