POV-Ray : Newsgroups : povray.bugreports : The macro scope / identifier / semicolon bug : Re: The macro scope / identifier / semicolon bug Server Time
20 Mar 2026 10:46:07 EDT (-0400)
  Re: The macro scope / identifier / semicolon bug  
From: Leroy
Date: 19 Mar 2026 15:30:00
Message: <web.69bc4e47b3a149a8d2c27e0cf712fc00@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> I've run into the issue where assigning the final value(s) of a macro to an
> indentifier such as "Result" and then having the final line of the macro be:
> Result triggers the ole' "attempt to assign uninitialized identifier to Lvalue"
> error.
> I'm hoping that this might help WFP fix this in the yuqk fork, identify where
> things went off the rails between earlier versions and 3.7/3.8, and propose a
> robust fix for this long-standing and really annoying bug that can nearly drive
> one insane.
>
This 'bug' doesn't bother me. Perhaps I' already insane ;) When learning POV
someone said that the macros are not true C or C++ macros. So I just learn to
accept what works and what doesn't. If you 'fix' doesn't cause more problems, I
see no harm.

Have Fun!


Post a reply to this message

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