Conditional dependencies
Lars Ivar Igesund <[email protected]> Wed, 14 Jul 2004 10:26:55 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
It struck me once that the dependencies found by ddepcheck wasn't necessarily correct at all times. This is due to the possibility to conditionally include/exclude parts of the source code using compiler switches. Correct dependencies for any given compilation run would therefore need ddepcheck to also look at these switches. I have implemented this (looks hairy at the moment) on my local copy of ddepcheck, but there is another problem that might, well, be a problem. If the switches are changed, changing the dependencies, but not the source code itself, can this be handled by A-A-P? I suppose dependency checking of C/C++ where includes are conditionally included/excluded by define might have the same problem. Lars Ivar Igesund ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com