Ticket #321 (Fixed)Thu Oct 18 12:24:41 UTC 2012
cmhg 5.42 outputs wrong dependencies when creating C header
Reported by: | Jeffrey Lee (213) | Severity: | Normal |
Part: | RISC OS: C/C++ toolchain | Release: | |
Milestone: | Status | Fixed |
Details by Jeffrey Lee (213):
Copied from the bugs forum now that the bug tracker is back up:
If you use the -depend option when generating a header file, then the dependency file will be generated as if you were creating the object file, not the header file. I.e. you’ll get dependencies for o.modhead instead of h.modhead.
I spotted this just now when working on the ZLib module – after copying over an updated VersionNum file and running the makefile it correctly rebuilt o.modhead and linked it into the module, but didn’t bother rebuilding h.modhead or any of the dependent C files due to the missing dependency info.
Changelog:
Modified by Jeffrey Lee (213) Sun, November 02 2014 - 13:54:19 GMT
- Status changed from Open to Fixed
Fixed with cmhg 5.43 (DDE 25)