Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Visual C++: "minimal rebuild" seems not to work

Posted on 1997-05-02
1
Medium Priority
?
196 Views
Last Modified: 2012-05-04
I am using Visual C++ 4.0 on W95. I am using the "minimal
rebuild" option and it seems not to work:

I have a file A.cpp which refers only to class A.
It includes file all.h which is consists only of includes
to other files. I change one of those other include
files which is the definition of a totally unrelated
class B.
According to the documentation, A.cpp should not recompile
even though it (indirectly) includes a modified .h file, because class A is not affected (with "minimal rebuild" ON,
of course).
The fact is it does recompile.
0
Comment
Question by:mco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
AVaulin earned 140 total points
ID: 1163220
Be sure that there were no any changes in all .h files which were included in your all.h file. For example if all.h include files stdafx.h, a.h and b.h; a.cpp include file all.h and file b.h was changed, file a.cpp will be recompile. To use minimal rebuild correctly you must in file a.cpp include only stdafx.h and a.h.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question