POV-Ray : Newsgroups : povray.programming : To POV-Team: Please put "#define fabs fabs" into config.h... : Re: To POV-Team: Please put "#define fabs fabs" into config.h... Server Time
28 Jul 2024 10:23:31 EDT (-0400)
  Re: To POV-Team: Please put "#define fabs fabs" into config.h...  
From: Vadim Sytnikov
Date: 28 May 2002 10:08:31
Message: <3cf38f5f@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote:
> If your library has it the library version will be used as the
> #define is conditional!

I know it's conditional, that is why I asked to put "#define fabs fabs" into
config.h (say, in the _MSC_VER branch of the windows/config.c) rather than
to remove "#define fabs..." from the frame.h...

> So there is no problem as long as
> you have a library that has fabs...

...and frame.h does not always re-define it, as it currently does (as you
surely know, function prototypes cannot be detected with #ifdef...).

> As far as POV-Ray 3.5 is concerned, it requires a
> C++ compiler anyway and all legacy C support has
> been removed.

Wow!... Does that mean that methods are now virtual functions, CSG_Struct
derived from Object_Struct, etc?


Post a reply to this message

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