POV-Ray : Newsgroups : povray.unix : Some specific assistance needed for the Unix build process : Re: Some specific assistance needed for the Unix build process Server Time
20 Apr 2024 11:49:53 EDT (-0400)
  Re: Some specific assistance needed for the Unix build process  
From: Le Forgeron
Date: 18 Jan 2019 14:59:12
Message: <5c423010$1@news.povray.org>
Le 17/01/2019 à 19:29, Le_Forgeron a écrit :
> Le 17/01/2019 à 19:19, clipka a écrit :
>> Fixing this right now.
> 
> Thanks.
> 

Latest issue with today's code:


> ./parser/font.h:78:25: error: looser throw specifier for ‘virtual const char*
pov_parser::FontProcessingException::what() const’
>      virtual const char* what() const override;
>                          ^~~~
> In file included from /usr/include/c++/7/exception:38:0,
>                  from /usr/include/c++/7/new:40,
>                  from /usr/include/c++/7/bits/stl_construct.h:59,
>                  from /usr/include/c++/7/bits/stl_tempbuf.h:60,
>                  from /usr/include/c++/7/bits/stl_algo.h:62,
>                  from /usr/include/c++/7/algorithm:62,
>                  from ../unix/povconfig/syspovconfig.h:49,
>                  from ../unix/povconfig/syspovconfigbase.h:42,
>                  from ./base/configbase.h:41,
>                  from ./core/configcore.h:42,
>                  from ./parser/configparser.h:41,
>                  from ./parser/font.h:40,
>                  from parser/font.cpp:37:
> /usr/include/c++/7/bits/exception.h:69:5: error:   overriding ‘virtual const char*
std::exception::what() const noexcept’
>      what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT;
>      ^~~~

Not sure there is a portable solution for gnu, clang and other compilers.


Post a reply to this message

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