POV-Ray : Newsgroups : povray.beta-test : master branch issue 29 linux compilation errors : Re: master branch issue 29 linux compilation errors Server Time
14 May 2024 05:37:27 EDT (-0400)
  Re: master branch issue 29 linux compilation errors  
From: clipka
Date: 1 Jul 2014 15:19:34
Message: <53b309c6$1@news.povray.org>
Am 01.07.2014 18:31, schrieb Le_Forgeron:

> Seems the only error that remains (in many place) for gcc is about
> shared_ptr with NULL. (it might be enough, if you want to keep NULL, to
> have a C-old cast in void*, such as
>
> return GenericNormalBlendMapPtr((void*)NULL);
>
> ) (as long as to be ugly with C NULL, a C-cast seems not that more to
> the vessel; Of course, a default empty constructor is fine.. but we know
> theses lines are not to be executed)

I've decided to go for a parameterless shared_ptr constructor with a 
comment.

Let me know what ca65fc523763201fde29dffd89c63788d81bdd16 does.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.