RE: Checking for unnecessary #included files

"Stefan Boberg" <[email protected]> Wed, 19 Jan 2005 12:06:20 +0100
Newsgroups gmane.games.devel.sweng,gmane.games.devel.general
Message-ID <[email protected]>
   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: [email protected]
> [mailto:[email protected]]
On
> Behalf Of Amy Phillips
> Sent: 19 January 2005 12:01
> To: [email protected]; sweng-
> [email protected]
> Subject: [Sweng-gamedev] Checking for unnecessary #included files
> 
> 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
_______________________________________________
Sweng-gamedev mailing list
[email protected]
http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com