POV-Ray : Newsgroups : povray.general : Warn About Naming Conflicts? : Warn About Naming Conflicts? Server Time
31 Jul 2024 16:21:27 EDT (-0400)
  Warn About Naming Conflicts?  
From: Ben Chambers
Date: 5 Dec 2006 14:44:50
Message: <4575cc32@news.povray.org>
OK, as an offshoot from another thread here, perhaps an even simpler 
solution to the problem exists.  What if, everytime you #declare an 
object which has already been #declare'd, the parser gives you a warning 
telling you what was re#declare'd and where?

This would not apply to #local items, only to globals.  It would take 
some work to convert a lot of the current include files, but it would be 
much safer overall.

...Chambers


Post a reply to this message

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