Boost logo

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.


"Erik Thiele" <erik_at_[hidden]> wrote in message
> 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, kalb at, bjorn.karlsson at, gregod at, wekempf at