FIX: Warnings with RTTI and Automatic Precompiled Headers (179270)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows NT
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows NT
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
This article was previously published under Q179270 SYMPTOMS If Run-Time Type Information (RTTI) is selected in the
C/C++ project settings and if you have selected Automatic use of
precompiled headers for all files, including Stdafx.cpp, you may
receive several warning messages such as the following example:
BSCMAKE: warning BK4503 : minor error in .SBR file
'.\Debug\MainFrm.sbr' ignored RESOLUTION You can use one of the following two methods:
- Method 1
- On the Project menu, click
Settings.
- In the Project Settings dialog box,
click the C/C++ tab.
- Click to select C++ Language from the
Category list.
- Click to clear Enable Run-Time Type
Information (RTTI), and then click to select Rebuild
All from the Build menu.
- Method 2
- From the left side of the Project
Settings dialog box, expand the project tree, and then select the
Stdafx.cpp file.
- On the C/C++ tab, select
Precompiled Headers from the Category list
box.
- Click to select Create precompiled header
file(.pch) for the Stdafx.cpp file, and then type
stdafx.h in the Through header
box.
- From the left side of the Project
Settings dialog box, select the project.
- On the C/C++ tab, click to select
Precompiled Headers from the Category
list.
- Click to select Use precompiled header
file(.pch) for the Stdafx.cpp file, type
stdafx.h in the Through header box, and
then click to select Rebuild All from the
Build menu.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 7/31/2003 |
---|
Keywords: | kbCompiler kbProd2Web kbBug kbfix kbNoUpdate KB179270 kbAudDeveloper |
---|
|