POV-Ray : Newsgroups : povray.programming : More whining about povray source code... : More whining about povray source code... Server Time
28 Jul 2024 14:18:44 EDT (-0400)
  More whining about povray source code...  
From: Warp
Date: 10 Dec 2000 05:45:08
Message: <3a335eb3@news.povray.org>
Why many header files are incomplete?

  If a header file defines a function/macro that needs another function/macro
in another header file, it could be expected that this header file would
properly include that another header file.
  Some header files are even illegal. For example, if I make this:

#include "mem.h"
#include "frame.h"

I get an error:

mem.h:56: parse error before `size'

  If I change the order of the includes:

#include "frame.h"
#include "mem.h"

then the error goes away.

  Do I need to comment anything to this that is not clear by itself?

-- 
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.