[Bf-committers] CSG + gcc = problems

Brecht Van Lommel bf-committers@blender.org
17 Feb 2004 18:15:46 +0000


On Tue, 2004-02-17 at 19:06, Kester Maddock wrote:
> This patch looks correct.  See http://www.codeguru.com/cpp/tic/tic0201.shtml

Thanks for the link. The explanation is a lot clearer than the c++ book
I've got here.

On Tue, 2004-02-17 at 08:26, Laurence Bourn wrote:
> Dude,
> Respect! Thanks very mush for doing that, pretty impressive for a 'rookie' if
> I may say so. Your patch looks good to me sprinkling all those typenames around
> more reflects my poor programming style. I should really define all template
> types and type assumptions by using typedef typename foo::bla bla in the
> template declaration instead of using the assumed template type directly. One
> other thing is whilst you are correct that vector<>::size_t maps to unsigned
> int on most platforms I'm not sure that it's cast in stone. Maybe better to
> define a top level typedef for this. 

Don't know if unsigned int is the standard either. Just got rid of this
to get a better overview of the real errors.

> If you like I can send you the booleanops.c code so that you can see it working
> in blender. Unfortunately my windoze development box is seriously ill. Not even
> wincvs works anymore after a clean install. Time to reinstall the OS on this
> filhy virus ridden piece of junk me thinks. 

I'd be glad to test it. Good luck with the Windows reinstall.

> Thanks for the Graphite link, i'll definately take a look. Although i'm
> considering doing my own implementation just because its a fairly interesting
> problem.

Cool, that's the true hackers spirit :).