|
![](/i/fill.gif) |
In article <36c76403.0@news.povray.org> , "Nigel Stewart"
<nig### [at] eisa net au NOSPAM> wrote:
> DBL x = 2.0;
>
> becomes
>
> DBL x = (DBL) 2.0;
>
> Is there anything unreasonable or dangerous about doing this?
It is unreasonable: DBL x = 2.0; is c acompletly legal and *well* readable
statement. DBL x = (DBL) 2.0 is less readable. Putting unnecessary code into
POV-Ray just to get rid of *one* compilers warnings is _not_ reasonable.
> I think it is worth keeping the MS compiler quiet, because sometimes
> things like signed/unsigned, unused, uninitialised variable, actually
> help solve problems.
Ever considered a different compiler? ;-)
Thorsten
Post a reply to this message
|
![](/i/fill.gif) |