POV-Ray : Newsgroups : povray.unix : Header precomp.h and precomp.cpp files issue. : Header precomp.h and precomp.cpp files issue. Server Time
20 Apr 2024 10:00:41 EDT (-0400)
  Header precomp.h and precomp.cpp files issue.  
From: William F Pokorny
Date: 19 Mar 2020 10:42:58
Message: <5e7384f2$1@news.povray.org>
Documenting something I see for whoever might trip over it later.

I've been working toward a cut down *nix only 'povray'. We today have 
precomp.h and precomp.ccp files which look to be trying to precompile 
common c/c++ headers for faster developer compiles. As set up this 
mechanism does not work for *nix compiles. We get an 'empty' precomp.o 
in each directory which is more or less harmless except for a little 
compile time and...

Supposing the precomp.h and precomp.ccp mechanism does work with windows 
compiles, it might explain why, back when Christoph added the user 
defined camera for the ODS camera work we hit that *nix only issue with 
abs() not resolving to fabs(). I've since had this itch we might have 
floating about similar *nix particular exposures due header inclusion 
order(1).

Bill P.

(1) - Potentially where, in the code, not using std::<function> 
namespace names.


Post a reply to this message

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