POV-Ray : Newsgroups : povray.general : pov source gcc3 problem : Re: pov source gcc3 problem Server Time
6 Aug 2024 02:23:04 EDT (-0400)
  Re: pov source gcc3 problem  
From: Pandora
Date: 8 Aug 2002 01:34:55
Message: <3d5202ff$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3d51a85c@news.povray.org...
> Pandora <pan### [at] pandora-softwarecom> wrote:
> >     Writing your own templated min/max functions could be seen as a
> > 'workaround'...
>
>   A workaround for what? If it works perfectly, with absolutely no
> compromises, how is it a workaround?
>

    It's a workaround because the POV source code is not C++ code, it's C
code. Any true solution to the problem should work on any given _C_
compiler. Unfortunately there are no true solutions to this problem, only
workarounds - either use carefully declared and used macros or a C++
compiler and templated functions - both workarounds in the context of the
POV source code.

--
Pandora/Scott Hill/[::O:M:C::]Scorpion
Software Engineer.
http://www.pandora-software.com


Post a reply to this message

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