Checking for unnecessary #included files

Amy Phillips <[email protected]> Wed, 19 Jan 2005 11:00:47 -0000
Newsgroups gmane.games.devel.sweng,gmane.games.devel.general
Message-ID <919E4B8118C4D711BC3900B0D0EE979AA41BCE@MAIL1>
Good morning!

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 

#include "ClassA.h" 

with a declaration

class CClassA

Does such software exist, either as freeware or to buy?  

Thanks,

	Amy
_______________________________________________
Sweng-gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com