POV-Ray : Newsgroups : povray.general : Different error messages for same POV-file : Re: Different error messages for same POV-file Server Time
10 Aug 2024 09:16:31 EDT (-0400)
  Re: Different error messages for same POV-file  
From: John VanSickle
Date: 15 Mar 2000 21:18:55
Message: <38D04719.6BCA95E9@erols.com>
Tor Olav Kristensen wrote:
> 
> Hello John
> 
> I too have got error messages pointing to the
> wrong point in my code when my error(s) were
> hidden somewhere earlier.
> 
> In these cases I just had to start commenting
> out code, changing variable names and moving
> things around until the error messages points
> at my real error.
> 
> I suspect that this may also be the case here,
> and I have therefore tried to play around with
> my code before posting to this newsgroup... But
> I haven't had any luck smoking out my(?) errors
> yet.
> 
> But I have found out that if I replace the last
> line of these four:
> 
> #declare QQi = array[3]
> #declare QQi = Minv(MMi)
> 
> #declare RRi = array[3]
> #declare RRi = Mmult(MMi, Minv(MMi))
> 
> with
> 
> #declare RRi = Mmult(MMi, QQi)
> 
> then the error messages disappear.

There appears to be a bug in macro argument parsing.  Sometimes when
I #declare a value using a macro, the semicolon at the end of the
declare statement is flagged as an error, and when it's absent a
warning message is displayed.

Regards,
John
-- 
ICQ: 46085459


Post a reply to this message

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