POV-Ray : Newsgroups : povray.programming : Parsing optional float parameter? : Re: Parsing optional float parameter? Server Time
28 Jul 2024 14:27:03 EDT (-0400)
  Re: Parsing optional float parameter?  
From: Warp
Date: 10 Dec 2000 05:35:02
Message: <3a335c56@news.povray.org>
Peter J. Holzer <hjp### [at] sikituwsracat> wrote:
: Did you #include "express.h" in your source file? A Failure to properly
: declare a function returning a non-integer often leads to strange
: results like this.

  That was exactly the problem (discovered it before reading your post,
though).

: The default CFLAGS setting for povray is also a bit conservative on
: enabling warnings.

  Forgot that gcc doesn't require by default function prototypes...

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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