POV-Ray : Newsgroups : povray.programming : QUESTION #2: MegaPOV Code Question/Problem : QUESTION #2: MegaPOV Code Question/Problem Server Time
2 Nov 2024 03:13:58 EDT (-0400)
  QUESTION #2: MegaPOV Code Question/Problem  
From: Robert Alan Byer
Date: 7 Mar 2000 23:31:51
Message: <38C59159.660EA78B@mail.ourservers.net>
First, I would like to thank everyone that replied to my previous
message as it clarified some issues.

Now, as promised, question/problem #2......

In the following files..

	MEM.C
		(line 864)
		if ((mem_stats.smallest_alloc<0) || (nbytes<mem_stats.smallest_alloc))

		(line 4168)
		if(Number_Of_Waves <=0)

	TRUETYPE.C
		(line 858)
		if (ffile->numGlyphs <= 0)

		(line 864)
		if (ffile->numberOfHMetrics <= 0)

	POVRAY.C
		(line 2240)
		if (theNumber <= 0)


I get compiler informational messages about the unsigned variable is
being compared with a relational operator to a constant whose value is
not greater than zero.

(Yes, my compiler is stricter than most.:} )

So the question is, are these == 0 tests?  Or are you using a trick such
as assigning a negative value to an unsigned variable?

I'm not worried as these are just informational messages, but since I'm
having to do some other minor cleaning up for my OpenVMS port I figured
I might as well look into these.

(And I do have one, maby two more little problems still yet to come. :}~
)

-- 

 +--------------------------+----------------------------------------+
 | Robert Alan Byer         | "I don't want to take over the world,  |
 | bye### [at] mailourserversnet |  just my own little part of it."       |
 | Phone: (317)357-2724     | http://www.ourservers.net/~byer        |
 +--------------------------+----------------------------------------+
 | Send an E-mail request to obtain my PGP key.        ICQ #65926579 |
 +-------------------------------------------------------------------+


Post a reply to this message

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