Dependency .CPP --> .OBJ broken

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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-

.



Relevant Pages

  • IDE Build System Broken
    ... I put a compile-time bug in Pipe.cpp. ... I removed the bug and built. ... The compiler was happy and built the project with no errors. ... I checked the time stamp on Pipe.cpp. ...
    (microsoft.public.vstudio.development)
  • Re: Advanced V1s
    ... the Bug was actually built in significant quantities. ... the cruise missile, one must include the various generations of the humble ... it the grandfather of all cruise missiles. ...
    (rec.aviation.military)
  • Re: malloc() & page boundaries -- Difference between VC6 and VC7 CRT?
    ... > cause malloc behavior to change between code built with VC6/VC7? ... We fixed the bug, but in the ... In the VC7 built code, ...
    (microsoft.public.vc.language)
  • Re: IDE Build System Broken
    ... I put a compile-time bug in Pipe.cpp. ... I removed the bug and built. ... The compiler was happy and built the project with no errors. ... I checked the time stamp on Pipe.cpp. ...
    (microsoft.public.vstudio.development)
  • Re: Text box throws an Error 7 Out of Memory with less than 27K in it!
    ... I'd have to agree with Bob here, ... >> those exact numbers and then concatenates that many more, ... I used to work supercomputer compiler support at CDC. ... > My favorite such bug at CDC was a benchmark that ran instantaneously. ...
    (microsoft.public.vb.enterprise)