$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Hartmut Kaiser (hartmutkaiser_at_[hidden])
Date: 2003-06-20 06:51:50
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