[GD-General] RE: [Sweng-gamedev] Checking for unnecessary #included files
Brought to you by:
vexxed72
From: Stefan B. <Ste...@di...> - 2005-01-19 11:06:48
|
I *think* PC-Lint should be able to do just that, but it's not easy to get it set up on a large codebase so we haven't gotten around to doing it yet. If you find another alternative, I'd love to hear about it. Cheers, Stefan -- Stefan Boberg Chief Technical Officer Digital Illusions CE AB > -----Original Message----- > From: swe...@li... > [mailto:swe...@li...] On > Behalf Of Amy Phillips > Sent: 19 January 2005 12:01 > To: gam...@li...; sweng- > ga...@mi... > Subject: [Sweng-gamedev] Checking for unnecessary #included files >=20 > Good morning! >=20 > Do you know of any programs or scripts that can be used to check a source > base for unnecessary #includes? I would like it to pick up on header > files > that are included but none of the contents are used. Also I'd like it to > realise where you have a pointer to an object, and could replace >=20 > #include "ClassA.h" >=20 > with a declaration >=20 > class CClassA >=20 > Does such software exist, either as freeware or to buy? >=20 > Thanks, >=20 > Amy > _______________________________________________ > Sweng-gamedev mailing list > Swe...@li... > http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev- > midnightryder.com |