POV-Ray : Newsgroups : povray.programming : Warning message lines Server Time
28 Jul 2024 18:23:02 EDT (-0400)
  Warning message lines (Message 1 to 1 of 1)  
From: Burton Radons
Subject: Warning message lines
Date: 16 Jan 2000 21:48:51
Message: <3882832E.591EC028@pacificcoast.net>
I've made a quick patch of Warning to print the filename and file line
of it's call, if it is in the parser, with the assumption that that line
has spawned the warning and is relevant.  For one, it covers the pigment
problem.

Since Data_File is not cleared back to NULL at the end of parsing, any
warnings after parsing (If they can occur?) will report themselves as
being at the end of the last included file.  I'd patch that, but I don't
know when the end of parsing is at.  Code, code, everywhere I look, but
not a process to be seen or heard.

The patch works off of my own macro patch.  I still don't know whether
patch will work very well with MegaPOV if at all, I haven't yet tried
it.


Post a reply to this message


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

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