POV-Ray : Newsgroups : povray.programming : Trying to compile under AIX : Re: Trying to compile under AIX Server Time
29 Jul 2024 04:20:53 EDT (-0400)
  Re: Trying to compile under AIX  
From: Thorsten Froehlich
Date: 2 Oct 1998 00:18:21
Message: <361445fd.0@news.povray.org>
<3613ECA1.FC214465@gte.net> , Steve Suehs <ske### [at] gtenet>  wrote:
>make ./userio.o
>        cc -O2 -ansi -c -DCOMPILER_VER=\".`uname`.cc\" -I. -I..
>-I../libpng -I../zlib -I/usr/X11/include ../userio.c -o ./userio.o
>"../userio.c", line 59.11: 1506-343 (S) Redeclaration of Banner differs
>from previous declaration on line 64 of "../povproto.h".
>"../userio.c", line 59.11: 1506-378 (I) Prototype for function Banner
>cannot contain "..." when mixed with a nonprototype declaration.
>
>
>Has anybody made it around this?


Have you tried to deactivate the -ansi option, POV-Ray is not exactly ANSI C
compatible. And maybe you have CDECL declare somewhere? Note that povproto.h is *not*
does not include frome.h or config.h so if you defined CDECL the header might not have
it and the prototypes do not match.

If you your compiler supports it, try to get the preprocessor output only (some
compilers can dump it) and llok if the function declaration and the function itself
differ.


Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany


Post a reply to this message

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