POV-Ray : Newsgroups : povray.beta-test : autoclck.mcr not working Server Time
29 Jul 2024 16:30:21 EDT (-0400)
  autoclck.mcr not working (Message 1 to 5 of 5)  
From: Dennis Miller
Subject: autoclck.mcr not working
Date: 2 Apr 2002 12:28:18
Message: <3ca9ea32$1@news.povray.org>
Does anybody know why Chris Colefax' autoclck.mcr would stop working with
Beta 15? I am in desperate need of its functions - in fact, in the middle of
a rather major project that I have been working on for months - and with 15,
all my files refuse to compile with this line highlighted:

    #local _CM_macro = true; #include "ClockMod.inc" #undef _CM_macro

Parse Error: Expected, 'undeclared identifier', float function "float
identifier' found instead.
The macro has worked in every version up to this point.
Any help would be GREATLY appreciated (essentially I am out of business.)
Thanks much,
D.


Post a reply to this message

From: Tim Nikias
Subject: Re: autoclck.mcr not working
Date: 2 Apr 2002 15:22:20
Message: <3CAA130B.92D70E47@gmx.de>
I suspect the #local is the reason... I'm not sure,
but I think inside the included "clockmod.inc", that
identifier isn't visible, since it's local to the file that
includes the include-file... Hope I'm making some sense.

Try to replace the #local with #declare and see what
happens, report again (either way: working or not...), that
would help others if they run into the same problem.

But, all in all, I'm not sure if you're question shouldn't
have been asked in advanced-users at first. Though it
happened with Beta15, it might be that something has
been CORRECTED that has formerly been WRONG
(don't know though, just guessing). The code just might
have done something that was expected to not work, but
did due to some other missing part in the holy POV-Code!

Well, hope I helped some,

Tim


Dennis Miller wrote:

> Does anybody know why Chris Colefax' autoclck.mcr would stop working with
> Beta 15? I am in desperate need of its functions - in fact, in the middle of
> a rather major project that I have been working on for months - and with 15,
> all my files refuse to compile with this line highlighted:
>
>     #local _CM_macro = true; #include "ClockMod.inc" #undef _CM_macro
>
> Parse Error: Expected, 'undeclared identifier', float function "float
> identifier' found instead.
> The macro has worked in every version up to this point.
> Any help would be GREATLY appreciated (essentially I am out of business.)
> Thanks much,
> D.

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html


Post a reply to this message

From: Chris Colefax
Subject: Re: autoclck.mcr not working
Date: 2 Apr 2002 21:21:45
Message: <3caa6739@news.povray.org>
Dennis Miller <dhm### [at] attbicom> wrote:
> Does anybody know why Chris Colefax' autoclck.mcr would stop working with
> Beta 15? I am in desperate need of its functions - in fact, in the middle
of
> a rather major project that I have been working on for months - and with
15,
> all my files refuse to compile with this line highlighted:
>
>     #local _CM_macro = true; #include "ClockMod.inc" #undef _CM_macro
>
> Parse Error: Expected, 'undeclared identifier', float function "float
> identifier' found instead.
> The macro has worked in every version up to this point.
> Any help would be GREATLY appreciated (essentially I am out of business.)

Unless there's been an intentional change in the behaviour of #undef, I
would say this is a bug.  On my latest compile of 3.5, this scene gives the
error:

#declare A = 1; #undef A

Declared vectors and floats (whether local or not) give an error, although
object identifiers can be undefined.  If others want to confirm this, I
imagine it won't be too hard to fix.  In the meantime, Dennis, I'll send you
a modified version of the macro file which should work OK.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: autoclck.mcr not working
Date: 3 Apr 2002 02:45:48
Message: <3caab32c$1@news.povray.org>
In article <3caa6739@news.povray.org> , "Chris Colefax" 
<chr### [at] tagpovrayorg> wrote:

> would say this is a bug

It is and will be fixed in the next beta.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Tony[B]
Subject: Re: autoclck.mcr not working
Date: 5 Apr 2002 11:59:05
Message: <3cadd7d9@news.povray.org>
Can I have a copy too, please? I found this problem this morning, but I
thought maybe it was something I had done and forgotten about completely.
Thanks in advance.


Post a reply to this message

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