POV-Ray : Newsgroups : povray.beta-test : #undef error? Server Time
1 Nov 2024 17:21:50 EDT (-0400)
  #undef error? (Message 1 to 6 of 6)  
From: Leroy Whetstone
Subject: #undef error?
Date: 3 Apr 2002 01:28:23
Message: <3CAABBF7.F8A86E69@joplin.com>
In beta 14 this worked:

#declare Get=yes;
#include"something.pov"
#undef Get

In beta 15 there is an parsing error:
undeclared identifier, float identifier found instead

But this works in beta 15

 #declare Get="yes";
        :
#undef Get

I have:
Computer: Amd Athlon 1.2GHz 256Meg RAM
POVRAY: version 3.5.beta.id.win32
--
Have Fun!


Post a reply to this message

From:
Subject: Re: #undef error?
Date: 3 Apr 2002 01:37:34
Message: <hk8lausr5aggsm9beokcu6a75b3b197bma@4ax.com>
On Wed, 03 Apr 2002 00:23:19 -0800, Leroy Whetstone <lrw### [at] joplincom> wrote:
> Computer: Amd Athlon 1.2GHz 256Meg RAM
> POVRAY: version 3.5.beta.id.win32

I think you mean 3.5.beta.icl.win32 (note icl instead of id) :-)
Behaviour confirmed POV 3.5 b 15 icl on WinNT Sp 6 PII 233 with 128 MB

ABX


Post a reply to this message

From: Alf Peake
Subject: Re: #undef error?
Date: 3 Apr 2002 10:08:00
Message: <3cab1ad0@news.povray.org>
"Leroy Whetstone" <lrw### [at] joplincom> wrote in message
news:3CAABBF7.F8A86E69@joplin.com...
>
> #declare Get=yes;
> #include"something.pov"
> #undef Get
>
> In beta 15 there is an parsing error:
> undeclared identifier, float identifier found instead
>

Confirmed

> But this works in beta 15
>
>  #declare Get="yes";
>         :
> #undef Get

OK, but only if ":" is replaced by #include "something.pov"

Alf

version 3.5.beta.15.msvc.win32.
Win98SE, Celeron 500, 160 MB.


Post a reply to this message

From: Leroy Whetstone
Subject: Re: #undef error?
Date: 3 Apr 2002 23:32:20
Message: <3CABF242.F27D9E84@joplin.com>
> I think you mean 3.5.beta.icl.win32 (note icl instead of id) :-)
> Your right! I wrote it down to make sure I had it right and then... copied it
> back wrong : (
>

--
Have Fun!


Post a reply to this message

From: Martial
Subject: Re: #undef error?
Date: 4 Apr 2002 15:57:00
Message: <3cacbe1c$1@news.povray.org>
bug confirmed 
version 3.5.beta..15. id.win32
win98 PII350 256 Ram
--
Martial


Post a reply to this message

From: Peter Hertel
Subject: Re: #undef error?
Date: 4 Apr 2002 17:23:02
Message: <3cacd246@news.povray.org>
Confirmed..
Bug also occurs with #local instead of #declare
Message window:
------
File: E:\povray\scenes\bug.pov  Line: 2
#local test= 0;

#undef test <----ERROR

Parse Error: Expected 'undeclared identifier', float function 'float
identifier' found instead
------
Win2k @ PII 450mhz + beta15.win32
--
Peter
http://hertel.no/peter


Post a reply to this message

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