John Maddock wrote: > > Here is the (main) code, which uses Wave to output the file > names of > > all successfully opened include files (this needs some filtering to > > avoid double output of the same file): > > Interesting, the thing is I need the code to find all > possible dependencies, so that if we have: > > #if SOME_MACRO > #include <boost/a.hpp> > #else > #include <boost/b.hpp> > #endif > > then it should find *both* headers. > > Which I don't think a preprocessor will do?
Good point! > In any case I'm already using regex for other purposes, and > boost::function seems to be the only problematic case so far... Anyway, nice to have bcp! Regards Hartmut _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost