On Thursday, December 16, 2010, Dave Plater wrote:

> Fixed, fixed the blender gcc46 build failure as well.
> I searched the files for an instance of stddef.h and couldn't find it
> anywhere how does <= gcc45 pick it up?

I have no idea, and I don't think anyone else really does either.  I think 
what happens is somebody writes some code off the top of his head that uses 
something like size_t, and it compiles, so nobody ever stops to think about 
why or how.

The way gcc handles all of this stuff is a mystery, and it changes from 
version to version.  Every year or so, we get a note like yours about some 
files that won't compile until we add some includes.  So we add them and go 
on.

I guess by the book we're probably missing tons of includes that should be 
declared explicitly, but it's such a small problem in the scheme of things 
that I think it's reasonable to carry on just addressing specific issues 
whenever they happen to crop up.

Thanks for bringing this to our attention.  If you'd be kind enough to provide 
a list of files that need this include added (or a patch), I'll go ahead and 
commit the changes so we'll be all set when that version of gcc becomes more 
popular.
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to