POV-Ray : Newsgroups : povray.programming : compile probs : Re: compile probs Server Time
28 Jul 2024 12:32:54 EDT (-0400)
  Re: compile probs  
From: Vahur Krouverk
Date: 7 Mar 2001 13:41:46
Message: <3AA68105.14AE8B38@aetec.ee>
Setepenaset wrote:
> 
> Howdy -
> Still stumbling along. (have moved to mcp code) Current questions:
> 1- shdrglue.c and shdrexec.c report 'parse error before long' at this line:
>    long labs (long);     (in stdlib.h)

Try to move line
#include "frame.h"
after including stdlib.h.  
probably some problem with different inclusion order in include files.

> 2 - besides this, the following warnings were issued:
> 
> isosurf.c:1143: warning: `iso_fn' declared inline after being called
> isosurf.c:1183: warning: `iso_func' declared inline after being called

Don't know about these.

> povray.c: In function `main':
> povray.c:279: warning: return type of `main' is not `int'

Unix config file should contain #define's for main return type and
return statement. Be sure, that correct config.h is used and it includes
unixconf.h.


Post a reply to this message

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