|
![](/i/fill.gif) |
In article <40bebe43$1@news.povray.org> , Dan P <dan### [at] yahoo com>
wrote:
> Those warnings bug me, so I'm going to fix them. As a rule, I use
> floor() and cast it to an int when I'm going from a double to an
> integer. I think that is the default behavior anyway so I'm going to add
> the necessary code to make it compile cleanly (at least, on this platform).
Argh! Don't do something like that, it is plain wrong! If you compiler
issues nonsensical warnings, the right thing to do is to disable them, not
to destroy your source code!
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |