FIX: Minimal Rebuild Fails on Access Specifier Change for Enum
Article ID: 150000
Article Last Modified on 7/5/2005
APPLIES TO
- Microsoft Visual C++ 4.0 Professional Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 4.2 Professional Edition
- Microsoft Visual C++ 4.2 Enterprise Edition
- Microsoft Visual C++ 5.0 Learning Edition
- Microsoft Visual C++ 5.0 Learning Edition
This article was previously published under Q150000
SYMPTOMS
Minimal Rebuild fails to detect the significance of access specifier
changes for enums that are declared inside a class. For example, if the
public definition of an enum in a class in a header file is changed to
private, minimal rebuild does not see the change as significant, and files
that depend on the header and the definition of the enum are not rebuilt.
The following message is displayed:
Generating Code...
Skipping... (no relevant changes detected)
RESOLUTION
Doing a rebuild all or disabling minimal rebuild forces a full compile and
correctly evaluates changes to the access specification of the enum. For
details, please see the "More Information" section of this article.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug was corrected in Visual C++
version 5.0.
Additional query words: kbVC400bug 10.00 10.10 10.20
Keywords: kbbug kbfix kbvc500fix kbcpponly kbcompiler KB150000