|
 |
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
|
 |