POV-Ray : Newsgroups : povray.beta-test : POV-Ray v3.8.0-alpha.10064268 : Re: POV-Ray v3.8.0-alpha.10064268 Server Time
27 Nov 2021 20:47:08 EST (-0500)
  Re: POV-Ray v3.8.0-alpha.10064268  
From: Cousin Ricky
Date: 18 Feb 2019 22:55:17
Message: <5c6b7e25$1@news.povray.org>
On 2/18/19 10:22 PM, clipka wrote:
> New version:
> 
> https://github.com/POV-Ray/povray/releases/tag/v3.8.0-alpha.10064268
> 
> One bug fix ("uncategorized error" in nested array initializers), 
> various changes under the hood, mostly related to migration towards more 
> extensive use of C++11 features.
> 
> One major such change is that we no longer need to link any of the boost 
> libraries (though we still need a couple of boost header-only libraries).
> 
> Also, build speed has been increased a bit, and modern clang versions 
> will no longer issue a flood of warnings.
> 
> Please test and enjoy!

It doesn't compile for me.  Below is the last part of the console session:

----------[BEGIN MESSAGES]----------
Making all in unix
make[2]: Entering directory 
'/home/ricky/povray/povray-3.8.0-alpha.10064268/unix'
depbase=`echo disp_sdl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I.. -I../source 
-I../source -I../platform/unix -I../platform/x86 -I../vfe -I../vfe/unix 
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/OpenEXR 
-I/usr/include  -pipe -Wno-multichar -Wno-write-strings 
-fno-enforce-eh-specs -Wno-non-template-friend -Wsuggest-override -s -O3 
-ffast-math -march=native -pthread -MT disp_sdl.o -MD -MP -MF 
$depbase.Tpo -c -o disp_sdl.o disp_sdl.cpp &&\
mv -f $depbase.Tpo $depbase.Po
disp_sdl.cpp:57:12: error: ‘shared_ptr’ does not name a type; did you 
mean ‘char16_t’?
      extern shared_ptr<Display> gDisplay;
             ^~~~~~~~~~
             char16_t
disp_sdl.cpp: In member function ‘virtual void 
pov_frontend::UnixSDLDisplay::Show()’:
disp_sdl.cpp:184:29: error: ‘min’ was not declared in this scope
                      width = min(modes[0]->w - 10, width);
                              ^~~
disp_sdl.cpp:184:29: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note:   ‘std::min’
      min(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp:253:35: error: ‘min’ was not declared in this scope
                  m_display_scale = min(float(width) / GetWidth(), 
float(height) / GetHeight());
                                    ^~~
disp_sdl.cpp:253:35: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note:   ‘std::min’
      min(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp: In member function ‘void 
pov_frontend::UnixSDLDisplay::UpdateCoord(unsigned int, unsigned int)’:
disp_sdl.cpp:348:27: error: ‘min’ was not declared in this scope
          m_update_rect.x = min((unsigned int)m_update_rect.x, x);
                            ^~~
disp_sdl.cpp:348:27: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note:   ‘std::min’
      min(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp:350:15: error: ‘max’ was not declared in this scope
          rx2 = max(rx2, x);
                ^~~
disp_sdl.cpp:350:15: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3468:5: note:   ‘std::max’
      max(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp: In member function ‘void 
pov_frontend::UnixSDLDisplay::UpdateCoord(unsigned int, unsigned int, 
unsigned int, unsigned int)’:
disp_sdl.cpp:360:27: error: ‘min’ was not declared in this scope
          m_update_rect.x = min((unsigned int)m_update_rect.x, x1);
                            ^~~
disp_sdl.cpp:360:27: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note:   ‘std::min’
      min(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp:362:15: error: ‘max’ was not declared in this scope
          rx2 = max(rx2, x2);
                ^~~
disp_sdl.cpp:362:15: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3468:5: note:   ‘std::max’
      max(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp: In member function ‘virtual void 
pov_frontend::UnixSDLDisplay::DrawRectangleFrame(unsigned int, unsigned 
int, unsigned int, unsigned int, const pov_frontend::Display::RGBA8&)’:
disp_sdl.cpp:408:19: error: ‘min’ was not declared in this scope
          int ix1 = min(x1, GetWidth()-1);
                    ^~~
disp_sdl.cpp:408:19: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note:   ‘std::min’
      min(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp: In member function ‘virtual void 
pov_frontend::UnixSDLDisplay::DrawFilledRectangle(unsigned int, unsigned 
int, unsigned int, unsigned int, const pov_frontend::Display::RGBA8&)’:
disp_sdl.cpp:458:28: error: ‘min’ was not declared in this scope
          unsigned int ix1 = min(x1, GetWidth()-1);
                             ^~~
disp_sdl.cpp:458:28: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note:   ‘std::min’
      min(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
disp_sdl.cpp: In member function ‘virtual void 
pov_frontend::UnixSDLDisplay::DrawPixelBlock(unsigned int, unsigned int, 
unsigned int, unsigned int, const pov_frontend::Display::RGBA8*)’:
disp_sdl.cpp:490:28: error: ‘min’ was not declared in this scope
          unsigned int ix1 = min(x1, GetWidth()-1);
                             ^~~
disp_sdl.cpp:490:28: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
                  from /usr/include/boost/function/detail/prologue.hpp:13,
                  from /usr/include/boost/function.hpp:30,
                  from ../source/frontend/renderfrontend.h:55,
                  from ../vfe/vfe.h:58,
                  from disp_sdl.h:45,
                  from disp_sdl.cpp:42:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note:   ‘std::min’
      min(initializer_list<_Tp> __l, _Compare __comp)
      ^~~
make[2]: *** [Makefile:487: disp_sdl.o] Error 1
make[2]: Leaving directory 
'/home/ricky/povray/povray-3.8.0-alpha.10064268/unix'
make[1]: *** [Makefile:668: all-recursive] Error 1
make[1]: Leaving directory '/home/ricky/povray/povray-3.8.0-alpha.10064268'
make: *** [Makefile:461: all] Error 2
-----------[END MESSAGES]-----------


Post a reply to this message

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