POV-Ray : Newsgroups : povray.general : Warn About Naming Conflicts? : Re: Warn About Naming Conflicts? Server Time
31 Jul 2024 22:21:08 EDT (-0400)
  Re: Warn About Naming Conflicts?  
From: Sabrina Kilian
Date: 6 Dec 2006 18:31:05
Message: <457752b9@news.povray.org>
nemesis wrote:
> Ben Chambers <ben### [at] pacificwebguycom> wrote:
>> This is certainly possible now, however it goes back to the old practice
>> of using an include file as a macro, rather than including a file once,
>> and calling a macro inside of it.  IMNSHO, this practice should be
>> discourage anyway, so I would consider it a bonus ;)
> 
> i double that! :)
> 
> 
> 

Tripled.

 #declared several times, and What about implementing a command like
MegaPOV's #set? You could still have globally used #declare variables,
reasonably warn when something is only make moderate changes to scenes
that need it and the POV-Ray source?

Even disable warnings by default, and only show them if the right flag
is present. To the average user nothing has changed, and to someone who
wants to track down an obscure problem between their includes and
someone elses it would make things a little easier.


Post a reply to this message

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