POV-Ray : Newsgroups : povray.unix : POV-Ray v3.8.0-beta.1 Server Time
2 May 2024 06:22:15 EDT (-0400)
  POV-Ray v3.8.0-beta.1 (Message 25 to 28 of 28)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: POV-Ray v3.8.0-beta.1
Date: 29 Jul 2021 11:45:03
Message: <6102ccff$1@news.povray.org>
I still do not understand this parse warning as I do *not* run a version 
3.5 scene. Does it refer to POV-Ray includes which /mention/ version 3.5?
functions.inc seem to be the only include file containing this.

Just a short explanation would be enough about this mysterious warning.

Thanks,

Thomas

Op 19-7-2021 om 14:17 schreef Thomas de Groot:
> Rendering a 3.8 version scene which includes functions.inc, I get the 
> following parse warning:
> 
> "functions.inc" line 167: Parse warning: use of POV-Ray v3.7 keyword 
> ('deprecated') detected in alleged v3.5 scene.
> 
> The only place were version 3.5 is mentioned is precisely at the start 
> of functions.inc:
> 
> #ifndef(Functions_Inc_Temp)
> #declare Functions_Inc_Temp = version;
> #version 3.5;
> ...
> #end
> 
> At the mentioned line 167 of this /new/ functions.inc shipped with the 
> beta, a /new/ if statement has been introduced, not there in previous 
> versions:
> 
> #if (Functions_Inc_Temp < 3.8)
>      #declare deprecated once "f_enneper was broken prior to v3.8; 
> results will most likely differ."
>               f_enneper = function { internal(18) }
> #else
>      #declare f_enneper = function { internal(18) }
> #end
> 
> 


-- 
Thomas


Post a reply to this message

From: clipka
Subject: Re: POV-Ray v3.8.0-beta.1
Date: 29 Jul 2021 15:54:36
Message: <6103077c$1@news.povray.org>
Am 29.07.2021 um 17:45 schrieb Thomas de Groot:
> I still do not understand this parse warning as I do *not* run a version 
> 3.5 scene. Does it refer to POV-Ray includes which /mention/ version 3.5?
> functions.inc seem to be the only include file containing this.
> 
> Just a short explanation would be enough about this mysterious warning.

It's a bug in `functions.inc`: At the start it claims that it needs only 
v3.5, but later it uses the `deprecated` keyword, which wasn't 
introduced until v3.7.

In other words, if someone were to use genuine POV-Ray v3.5, and render 
the scene with that very same include file, they'd get an error message.

The fact that POV-Ray warns about such scenarios is a brand new feature 
of v3.8.0-beta.1.


Post a reply to this message

From: Thomas de Groot
Subject: Re: POV-Ray v3.8.0-beta.1
Date: 30 Jul 2021 01:57:15
Message: <610394bb$1@news.povray.org>
Op 29/07/2021 om 21:54 schreef clipka:
> Am 29.07.2021 um 17:45 schrieb Thomas de Groot:
>> I still do not understand this parse warning as I do *not* run a 
>> version 3.5 scene. Does it refer to POV-Ray includes which /mention/ 
>> version 3.5?
>> functions.inc seem to be the only include file containing this.
>>
>> Just a short explanation would be enough about this mysterious warning.
> 
> It's a bug in `functions.inc`: At the start it claims that it needs only 
> v3.5, but later it uses the `deprecated` keyword, which wasn't 
> introduced until v3.7.
> 
> In other words, if someone were to use genuine POV-Ray v3.5, and render 
> the scene with that very same include file, they'd get an error message.
> 
> The fact that POV-Ray warns about such scenarios is a brand new feature 
> of v3.8.0-beta.1.

OK. Thanks for this. I shall just close my eyes ;-)

-- 
Thomas


Post a reply to this message

From: jr
Subject: Re: POV-Ray v3.8.0-beta.1
Date: 4 Aug 2021 17:55:00
Message: <web.610b0c50b74fb8af5e0fed26cde94f1@news.povray.org>
hi,

clipka <ano### [at] anonymousorg> wrote:
> Am 29.07.2021 um 17:45 schrieb Thomas de Groot:
> > I still do not understand this parse warning as I do *not* run a version
> > 3.5 scene. Does it refer to POV-Ray includes which /mention/ version 3.5?
> > functions.inc seem to be the only include file containing this.
> >
> > Just a short explanation would be enough about this mysterious warning.
>
> It's a bug in `functions.inc`: At the start it claims that it needs only
> v3.5, but later it uses the `deprecated` keyword, which wasn't
> introduced until v3.7.

fwiw, same bug/keyword use for 'glass_old.inc'.


regards, jr.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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