Re: headers question



On Mon, 2010-01-11 at 12:02 -0500, Andy Gilman wrote:
> I have been working with Gtkmm for about a month, and there are numerous 
> things I am sure I need to know, but what I am wondering about now has 
> to do with the headers.  In most of the Gtkmm examples, the 
> comprehensive "include <gtkmm.h> is used.  I have copied this and of 
> course it works fine.  But would it speed up compilation if I could 
> identify just the files I actually needed?

Maybe, slightly.

>   And is there an efficient 
> way to do this?

Not that I know of. I just add includes as the compiler tells me I need
them, and don't try to remove unnecessary ones later.

>   And does either pattern make a difference in the speed 
> with which the executable file is executed?

No, if anything it would affect the size of your executable, though
that's unlikely.


-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]