Hi, On Tue, 2009-02-03 at 12:12 -0600, Carsten Neumann wrote: > Hello Thiago, > > Thiago Bastos wrote: > > On Mon, Feb 2, 2009 at 7:56 PM, Carsten Neumann <[email protected] > > <mailto:[email protected]>> wrote: > > I'm trying, but all of sudden we're getting compilation errors on Windows: > > > > OSGSimpleShadowMapEngineBase.cpp > > > > c:\sdk\opensg-2.0-src\source\base\fieldcontainer\mixins\OSGStageHandlerMixin.inl(704) > > : error C2664: 'OSG::RenderAction::recurseMultiCoreFrom' : cannot > > convert parameter 3 from 'OSG::StageHandlerMixin<ParentT> *const ' > > to 'OSG::NodeCore *const ' > > with > > [ > > ParentT=OSG::ContainerMixinHead<OSG::ShadowMapEngineDesc> > > ] > > Types pointed to are unrelated; conversion requires > > reinterpret_cast, C-style cast or function-style cast > > hm, seems like the MS compiler generates code for member functions of a > class template even when they are not used. > I checked in a hack to work around that, please try r1716, sorry for the > inconvenience. > > @Gerrit: do you have a better idea how to make the compiler not > instantiate the member function? I always thought that was one of the > nice things about class templates, its members are allowed to do > nonsense as long as you don't call them?
that was the idea and as long as your compiler is not total crap it actually works correctly. I'll change it so that keeps complaining if a non-core tries to actually call it as this is an intentional feature. kind regards gerrit ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
