POV-Ray : Newsgroups : povray.programming : Atempting MPW Compile ? : Re: Atempting MPW Compile ? Server Time
28 Jul 2024 22:15:41 EDT (-0400)
  Re: Atempting MPW Compile ?  
From: Thorsten Froehlich
Date: 10 May 2000 20:40:48
Message: <391a0190@news.povray.org>
In article <391### [at] earthlinknet> , Moon47 <rdm### [at] earthlinknet> 
wrote:

> That did make sense but did not fix the problem. Neither OPTIN.c nor
> OPTIN.h use the config.h header file in the includes...?

Yes, they do. config.h gets included via frame.h.

> Why is it trying to "implicitly convert
>> from: (int)
>> to  : (struct file_handle_struct *)"
>
> This does not make sense to me...?

Because it does not know the function and by default all functions return
"int" in K&R C.

Oh, and this code should work. Are you sure you removed the three defines
from the right config.h (the one in the MacSource folder)? You may also want
to try "Build All" to restart the whole build process.


        Thorsten

PS: POV-Ray is really not the easiest project to build in MrC, maybe you
should try some of the examples first and get used to the MPW MrC
environment. Once you get more experience it will be less frustrating :-)


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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