Dependency .CPP --> .OBJ broken
- From: unoriginal_username@xxxxxxxxx
- Date: 15 Jun 2006 11:03:46 -0700
I cannot believe what I am seeing. If this bug is as I think it is, the
engineer who did this should be thrashed.
I have a regular static .lib project that contains some .cpp, .hpp
files, and of course, a place to put the .obj and .lib file. I noticed
just today that whenever I build a project, the build always occurs,
and will not honor the dependency between the .cpp file and .obj file.
Naturally, in these circumstances, it is important to be fastidious in
attention to detail to keep from going crazy. I checked carefully my
date/time stamps on each file
Pipe.cpp had time stamp: 2006-06-15 12:10. (Today just after noon).
Pipe.obj had time stamp: 2006-06-14 14:55 (Yesterday, around 3 in after
noon)
1. I put a compile-time bug in Pipe.cpp.
2. I built the project.
3. The compiler choked on the bug.
4. I removed the bug and built.
5. The compiler was happy and built the project with no errors.
6. I built the project again after making no modifications to Pipe.cpp.
7. The IDE forced a rebuild. !!!!!
6. I checked the time stamp on Pipe.cpp. It was updated because of my
changes.
7. I checked the time stamp on Pipe.obj. It was *not* updated. Still
at 2006-06-14 14:55
8. I prepended "MicrosoftISFUBAR" to "Pipe.obj".
9. I built the project after making no modificaitons to Pipe.cpp
10. The compiler made a new Pipe.obj with 2006-06-15 12:57 (right
now).
11. I built the project again after making no modifications to
Pipe.cpp
12. The IDE forced a rebuild. !!!!!
WTF?
-Le Chaud Lapin-
.
- Prev by Date: VS 2005 still Beta....
- Next by Date: Re: VS 2005 still Beta....
- Previous by thread: VS 2005 still Beta....
- Next by thread: Re: Dependency .CPP --> .OBJ broken
- Index(es):
Relevant Pages
|