POV-Ray : Newsgroups : povray.general : Bug with include & macro ? Server Time
19 May 2024 21:57:23 EDT (-0400)
  Bug with include & macro ? (Message 1 to 2 of 2)  
From: Mael
Subject: Bug with include & macro ?
Date: 5 Sep 2004 04:40:37
Message: <413ad105$1@news.povray.org>
Hello,

I think I found a scene crashing pov (version windows 3.6.1.icl8.win32). You
need an include file with a macro

File test.inc :
#macro sph()
  sphere { 0, 1 }
#end

File test.pov :
#include "test.inc"
sph()
#if (true
#end

test.pov gives an internal error and the backend thread is shutted down

M


Post a reply to this message

From: =Bob=
Subject: Re: Bug with include & macro ?
Date: 5 Sep 2004 11:00:37
Message: <413b2a15$1@news.povray.org>
"Mael" <mae### [at] hotmailcom> wrote in message news:413ad105$1@news.povray.org...
: #include "test.inc"
: sph()

You're missing a closing paren after #if (true

: #if (true
: #end

Maybe it could have better recovery.
=Bob=


Post a reply to this message

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