← Back to team overview

yade-dev team mailing list archive

Re: svn-1284 compile error

 

Janek Kozicki said:     (by the date of Wed, 26 Mar 2008 10:29:00 +0100)

> sega said:     (by the date of Wed, 26 Mar 2008 10:23:01 +0300)
> 
> > Hello. I have following compile error after update to svn-1284:
> > 
> > gui/cmd/yadeControl.cpp:271:   instantiated from here
> > /usr/local/include/boost/shared_ptr.hpp:199: error: invalid static_cast from type 'Factorable* const' to type 'Indexable*'
> 
> yes, I got this too. It occurs only in optimized builds, the fix is
> to replace YADE_PTR_CAST by dynamic_pointer_cast in
> yadeControl.cpp:271
> 
> You can commit that fix if you want, or we can wait for Vaclav,
> because that's his code.


So I committed this fix.

-- 
Janek Kozicki                                                         |
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



References