POV-Ray : Newsgroups : povray.unofficial.patches : Question: Problem Compiling MegaPOV v0.7 : Re: Question: Problem Compiling MegaPOV v0.7 Server Time
1 Sep 2024 16:16:04 EDT (-0400)
  Re: Question: Problem Compiling MegaPOV v0.7  
From: Vahur Krouverk
Date: 13 Feb 2001 06:32:07
Message: <3A891B3C.FD3D8EE1@aetec.ee>
Robert Byer wrote:
> 
> I downloaded the source for MegaPOV v0.7 so I could port it (like the
> previous versions of MegaPOB) to OpenVMS.
> 
> The compile and link went fine, but...
> 
> In the following files...
[Snip]
> I got a error about "#pragma peephole off" not being known.

Was it really error? Or was it warning? Unrecognized pragmas shouldn't
generate errors, they should be ignored by compiler (and user warned
about).

> It linked without problems, and it ran and did render scenes
> correctly.
> 
> My question, is "#pragma peephole off" needed?  Is this something
> that was used for testing and not removed?

I assume, that it was for turning peephole optimization off. Generally
pragmas give hints to compiler, so it is really not needed.
Probably someone tried various optimizations on some compiler and left
those pragmas in for some reason.


Post a reply to this message

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