DOC: C4237 Online Help Contains Wrong Information on "bool" (164150)
The information in this article applies to:
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2
This article was previously published under Q164150 SUMMARY
The online help on C4237 in Visual C++ 4.2 states that the keywords bool,
true, false, mutable, explicit, and typename are for future use. The last
paragraph states the following:
If you include the header OAIDL.H, note that this header defines both
bool and boolval. To avoid this warning and prevent possible
compatibility problems with future versions of Visual C++, your code
should use the boolval definition instead of the bool definition.
This information is incorrect. If you use OAIDL.H for bool keyword, the
following error message appears:
error C2065: 'bool' : undeclared identifier
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbcode kbdocerr kbdocfix KB164150 |
---|
|