POV-Ray : Newsgroups : povray.unofficial.patches : Bug in MegaPOV source Server Time
2 Sep 2024 18:15:26 EDT (-0400)
  Bug in MegaPOV source (Message 1 to 2 of 2)  
From: Chris Huff
Subject: Bug in MegaPOV source
Date: 10 Dec 1999 05:43:57
Message: <chrishuff_99-959529.05442110121999@news.povray.org>
I have just compiled a Mac version of MegaPOV. However, CodeWarrior gave 
me this error:
Error   : cannot convert
'struct Media_Struct **' to
'struct Media_Struct *'
MEDIA.C line 474   IMEDIA *AA_Search_Media=Media_List;

I haven't had a chance to look at the code and make sure this fix is 
correct, but I changed the line
    IMEDIA *AA_Search_Media=Media_List;
to
    IMEDIA *AA_Search_Media = *Media_List;
and all seems well.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: Nathan Kopp
Subject: Re: Bug in MegaPOV source
Date: 10 Dec 1999 21:55:58
Message: <3851bd3e@news.povray.org>
Thanks.  Funny how MSVC++ let that that typo slip by as just a warning.
Darn last-minute changes get me every time.

-Nathan

Chris Huff <chr### [at] yahoocom> wrote...
> I have just compiled a Mac version of MegaPOV. However, CodeWarrior gave
> me this error:
> Error   : cannot convert
> 'struct Media_Struct **' to
> 'struct Media_Struct *'
> MEDIA.C line 474   IMEDIA *AA_Search_Media=Media_List;
>
> I haven't had a chance to look at the code and make sure this fix is
> correct, but I changed the line
>     IMEDIA *AA_Search_Media=Media_List;
> to
>     IMEDIA *AA_Search_Media = *Media_List;
> and all seems well.
>
> --
> Chris Huff
> e-mail: chr### [at] yahoocom
> Web page: http://chrishuff.dhs.org/


Post a reply to this message

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