|
Boost Users : |
From: Adrian Stoica (adrian_stoica_at_[hidden])
Date: 2004-06-24 21:49:48
I'm not aware of any such tools, but it could be done with a Perl script
that removes the includes one at a time, and then invokes the compiler. If
the file compiles ok, it's probably safe to remove that include.
Adrian
"Erik Thiele" <erik_at_[hidden]> wrote in message
news:20040624093248.674604a7.erik_at_thiele-hydraulik.de...
> hi.
>
> this is OFFTOPIC. i am searching for a way to detect unused #include
> directives. i'd appreciate some GPL tool. in the transition from more
> and more of my own small helper classes to boost stuff i find difficult
> to remove unneeded #includes. i am sure my code is full of useless
> dependencies.
>
>
> cya
> erik
>
> --
> Erik Thiele
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net