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?
Cheers,
Carsten
------------------------------------------------------------------------------
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