POV-Ray : Newsgroups : povray.programming : Identifier declared but never used : Re: Identifier declared but never used Server Time
28 Jul 2024 22:23:12 EDT (-0400)
  Re: Identifier declared but never used  
From: Mikael Carneholm
Date: 24 Apr 1999 18:12:37
Message: <37223326.7C843C07@ida.utb.hb.se>
Hi Mika (Terve! :) )

I think these kind of user errors should be taken care of by the include file. For my
SmokeGen include, I did a section that checks if the reserved words are declared, and
#debugs to the message window all those words that have not been declared. Example:

#if(DebuggingIsOn)
  #ifndef(reserved_word)
    #debug "reserved_word is not declared."
  #end
#end

This is on the include file creator level though, but you could add some lines to the
include files yourself that does this if the include files you use not already does
this.

- Mikael.

-----------------------------------------------------------------
Mikael Carneholm
Dep. of Computer Science


http://www.studenter.hb.se/~arch
E-mail: sa9### [at] idautbhbse


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

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