POV-Ray : Newsgroups : povray.general : Github repository with useful macros : Re: Github repository with useful macros Server Time
4 May 2024 02:57:42 EDT (-0400)
  Re: Github repository with useful macros  
From: William F Pokorny
Date: 22 May 2021 19:26:08
Message: <60a99310$1@news.povray.org>
On 5/22/21 12:13 PM, jr wrote:
> hi,
> 
> William F Pokorny <ano### [at] anonymousorg> wrote:
...
> 
> may be I'm too dense, but what goes wrong at 'oops'?  since 'Mcr00' only looks
> for 'Filename', which exists, it'll use that.  and 'Wildname' isn't defined, so
> 'Mcr01' also appear (to me) to do the correct thing.  did I misread yr point?
> 

:-) Suppose, I think so. We want the #ifndef to only look at the tokens 
passed on the macro call. The code can of course be correct, my point is 
the option checking code can be wrong - thereby allowing definitions 
into the macro by a path other than the call parameters/tokens.

Bill P.


Post a reply to this message

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