It's a hard error because we set up our build scripts to make warnings into 
errors (except for the small number of warnings we can't figure out how to 
solve).

OK, here is my proposed fix:  https://github.com/OpenImageIO/oiio/pull/1539 
<https://github.com/OpenImageIO/oiio/pull/1539>

This is what I sent you before, but #if-guarded so that the extra 
initializations only happen on 32 bit x86 platforms, which appears to be the 
only place where there's trouble.

This is a patch against master, but I'll backport it to 1.7.


> On Oct 17, 2016, at 1:24 PM, Richard Shaw <hobbes1...@gmail.com> wrote:
> 
> On Mon, Oct 3, 2016 at 1:01 PM, Larry Gritz <l...@larrygritz.com 
> <mailto:l...@larrygritz.com>> wrote:
> OK, but I don't want to do needless initialization in an inner texture loop, 
> on platforms where it's not necessary.
> 
> Do you know an #if test that I can enclose those lines in, so that they only 
> are used on those platforms where it initially failed? It seems the 64 bit 
> platforms had no trouble figuring out that those were initialized, I'm not 
> sure why.
> 
> I haven't gotten any recommendations for a fix but the cause appears to be 
> that optimizers are arch specific so they can in some circumstances handle 
> things differently which is why I only see this on i686. 
> 
> Most of the time this is only a warning, I'm not sure what in the code is 
> causing the hard error.
> 
> Thanks,
> Richard
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
l...@larrygritz.com


_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to