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


/usr/include/OpenEXR/ImfFrameBuffer.h:369:1: note:   no known conversion
for argument 1 from ‘pov_base::IOBase’ to ‘const
base/image/openexr.cpp: In member function ‘virtual void
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)


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


(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.