There is a scene I wrote which produced a segfault.
It could be reduced to the following two files:
break.pov & break.inc
/* file break.inc */
#macro M()
#local aspect_ratio=1.0;
#if(aspect_ratio)
#end
#end
/* end of file */
/* file: break.pov */
#include "break.inc"
M()
#if (UNDEFINED_VARIABLE)
#end
#
/* end of file */
Things that I observed:
- The macro must be included with #include
- #declare or #local within the macro both have same result
- Without #if() condition test in macro scene "works"
- Without #if() condition test in break.pov scene "works" too
- Too much coffee to get some sleep
PoV-Ray:
...
Persistence of Vision(tm) Ray Tracer Version 3.6.1 (g++-3.4 3.4.4 @
i686-pc-linux-gnu)
...
Sorry, I'm not sure where to post this.
Good night,
Sebastian
Post a reply to this message
|