POV-Ray : Newsgroups : povray.unix : compile errors on fedora 24 : Re: compile errors on fedora 24 Server Time
26 Apr 2024 17:07:58 EDT (-0400)
  Re: compile errors on fedora 24  
From: Le Forgeron
Date: 2 Jul 2016 02:03:43
Message: <5777593f@news.povray.org>
Le 02/07/2016 01:12, RM a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
> 
>> Which version of code ? (stable or master branch ?)
> master 3.7.1-alpha.8656843
>> What is the version of g++ on fedora 24 ?
> GCC 6.11

Oh, interesting change, the default mode is gnu++14 instead of gnu++98

It seems IOBase is now missing something like
  operator bool()const{...}
but deeper analysis might be needed.

Or instead of ( X.write() == false ), it could be rewritten ( !(X.write()) == true )
or even ( !(X.write()) ) as == true is implicit

I guess that previously the operator const void*() was used by previous standard to
get an evaluation of the test

>> Can you try another compiler ? (like clang)
> 
> clang is available for fedora 24
> what options do i set  to use it instead of gcc?
> 
On the ./configure command line, add CXX=clang++ CC=clang


Post a reply to this message

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