POV-Ray : Newsgroups : povray.beta-test : Povray-3.7.0.RC6 successfully compiled on MacBook Pro MAC OS X 10.7.5 : Re: Povray-3.7.0.RC6 successfully compiled on MacBook Pro MAC OS X 10.7.5 Server Time
6 May 2024 02:43:58 EDT (-0400)
  Re: Povray-3.7.0.RC6 successfully compiled on MacBook Pro MAC OS X 10.7.5  
From: denis beurive
Date: 23 Dec 2012 11:55:01
Message: <web.50d7372cf9da39d9be007bed0@news.povray.org>
Hello,

While compiling Povray-3.7.0.RC6 on MacBook Pro MAC OS X 10.7.5, I have problem
with "uint". I add to include <sys/types.h>.

In order to increase the portability, I suggest to replace every occurrence of
"uint" by "unsigned int".

Unlike "uint", "unsigned int" is always defined. Therefore, I suggest to replace
every occurrence of "uint" by "unsigned int".

There are only  3 lines to modify, distributed in 2 files.
  -  ./vfe/unix/vfeplatform.h (2 lines).
  -  ./vfe/vfesession.h (1 line).

It is a small modification, bu I think it worth it.

Note: find . -type f -name "*.h" -exec grep -H 'uint' {} \;

Best regards,

Denis


Post a reply to this message

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