POV-Ray : Newsgroups : povray.general : Compiling POV-Ray yields HUGE amounts of warnings Server Time
6 Nov 2024 04:16:59 EST (-0500)
  Compiling POV-Ray yields HUGE amounts of warnings (Message 1 to 3 of 3)  
From: Timon Christl
Subject: Compiling POV-Ray yields HUGE amounts of warnings
Date: 3 Nov 2002 09:55:29
Message: <3dc538e1$1@news.povray.org>
Has anyone noticed that compiling POV-Ray 3.5 with gcc 2.953 on Linux
(possibly older versions also show this) results in 18060 warnings of
the kind

warning: multi-character character constant

Of course this is only a cosmetic problem and does not affect the
compiled program, but I'm curious why there are multi-character
character constants in a program like POV-Ray - which aims to be highly
portable - in the first place.

-- 
Timon Christl <me### [at] christltimonde>
AIM: sgmfragcollector
ICQ: 172280602


Post a reply to this message

From: Christopher James Huff
Subject: Re: Compiling POV-Ray yields HUGE amounts of warnings
Date: 3 Nov 2002 10:13:41
Message: <3dc53d25@news.povray.org>
"Timon Christl" <chr### [at] umbrielfmiuni-passaude> wrote in message
news:3dc538e1$1@news.povray.org...
> Of course this is only a cosmetic problem and does not affect the
> compiled program, but I'm curious why there are multi-character
> character constants in a program like POV-Ray - which aims to be highly
> portable - in the first place.

POV does not use them in a non-portable way, so if you can, just turn those
warnings off.


Post a reply to this message

From: Warp
Subject: Re: Compiling POV-Ray yields HUGE amounts of warnings
Date: 3 Nov 2002 10:55:28
Message: <3dc546f0@news.povray.org>
Christopher James Huff <cja### [at] earthlinknet> wrote:
> POV does not use them in a non-portable way, so if you can, just turn those
> warnings off.

  Which happens by specifying -Wno-multichar

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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