POV-Ray : Newsgroups : povray.unix : Compiling 3.5 source on Linux also fails : Re: Compiling 3.5 source on Linux also fails Server Time
28 Jul 2024 10:22:18 EDT (-0400)
  Re: Compiling 3.5 source on Linux also fails  
From: Warp
Date: 1 Aug 2002 21:53:52
Message: <3d49e630@news.povray.org>
Christian Parpart <cpa### [at] surakwarenet> wrote:
> Oh no! No! please, don't....... Okay, importing the whole std namespace 
> globally is ugly and was never recommented in any documentation I read, 
> also I personally never do that too. I just import either locally or import 
> explicitely.

  I know all this (haven't you read my whinings in povray.off-topic about
the issue?-) ).
  Of course the most correct way of using it would be std::min and
std::max. However, I only suggested a quick fix which requires a minimum
amount of modification of the source code without modifying the result
in any way.
  Since POV-Ray is not well-structured C++, it doesn't really matter if
you dump everything to global visibility... :)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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