POV-Ray : Newsgroups : povray.programming : QUESTION: MegaPOV Code Questions/Problems (LONG) : Re: QUESTION: MegaPOV Code Questions/Problems (LONG) Server Time
28 Jul 2024 16:27:45 EDT (-0400)
  Re: QUESTION: MegaPOV Code Questions/Problems (LONG)  
From: Nathan Kopp
Date: 6 Mar 2000 09:07:40
Message: <38c3bbac$1@news.povray.org>
Thomas Willhalm <tho### [at] willhalmde> wrote...
>
> From my limited knowledge of the code I can say that they can be static.
> More precisely, I have compiled the megapatch for Sun Solaris and I've
> had the same warnings. So, I've changed the not-quite-so-static
> functions to static functions and it worked fine for me.
> Despite this fact I would like to know too, why they are considered
> not-quite-so-static.

When merging all these various patches from various authors together, I
(actually, we), didn't have enough time to really look things over.  Those
functions were in the 'static' section, but for some reason somebody had
taken away the 'static' keyword.  I assumed that they were used elsewhere
(in the function parsing code, most likely).  Because the comment still said
"Static functions" even though they weren't static, I changed the comment.
It was kind of a joke to myself at the time, but it reflected the fact that
maybe they were static or maybe they were not... depending on the
perprocessor defines.

-Nathan


Post a reply to this message

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