POV-Ray : Newsgroups : povray.bugreports : update of stable branch : update of stable branch Server Time
23 Apr 2024 17:31:38 EDT (-0400)
  update of stable branch  
From: Le Forgeron
Date: 3 Dec 2016 03:14:14
Message: <58427ed6$1@news.povray.org>
I noticed a recent update of stable branch for boost 1.62

So far so good, but on the same line it could be kind to also update it
for the gcc 6.2 compiler family: since 6, it does not compile any more
due to the enforcement of stricter rules about type promotions

Basically

/usr/include/OpenEXR/ImfFrameBuffer.h:369:1: note:   no known conversion
for argument 1 from ‘pov_base::IOBase’ to ‘const
Imf_2_2::FrameBuffer::ConstIterator&’
base/image/openexr.cpp: In member function ‘virtual void
pov_base::OpenEXR::POV_EXR_IStream::seekg(Imath_2_2::Int64)’:
base/image/openexr.cpp:160:36: error: no match for ‘operator==’ (operand
types are ‘pov_base::IOBase’ and ‘bool’)
    if(is.seekg((unsigned long)pos) == false)


and

base/image/hdr.cpp:236:25: error: no match for ‘operator==’ (operand
types are ‘pov_base::IStream’ and ‘bool’)
   if(file->Read_Byte(b) == false)


basically, all that would be needed is something like

https://bitbucket.org/LeForgeron/povray/commits/d943647985cad23ff654abec4ecfde0f639eae4c

(an explicit bool operator in fileinputoutput.h, instead of -- or in
addition to -- the now useless operator!() )


For the time being, no problem of compilation of stable with intel nor
Clang compilers.


Post a reply to this message

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