delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | abx AT abx DOT art DOT pl (Wlodzimierz ABX Skiba) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: cleaning source from warnings troubles |
Date: | 27 Sep 2002 01:13:44 -0700 |
Organization: | http://groups.google.com/ |
Lines: | 31 |
Message-ID: | <e8982227.0209270013.38800e2f@posting.google.com> |
References: | <e8982227 DOT 0209230144 DOT 2d26793e AT posting DOT google DOT com> <ammsir$l1m$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> |
NNTP-Posting-Host: | 195.205.156.102 |
X-Trace: | posting.google.com 1033114424 4550 127.0.0.1 (27 Sep 2002 08:13:44 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | 27 Sep 2002 08:13:44 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> wrote in message news:<ammsir$l1m$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>... > Wlodzimierz ABX Skiba <abx AT abx DOT art DOT pl> wrote: > > > 1. "aggregate has a partly bracketed initializer" > [...] > > I can't see any particular reason for this one. Are you sure you > quoted the actual source fragment this warning was about? Yes. This structure contains 20 entries and warning is outputed 20 times. Number of line in warning point to line with closing bracket of this structure. > > 2. "multi-character character constant" > > > Is there any way to remove this warning (of course except command line > > option) for definition: > > No. This code deserves a warning. Note that they have single quotes, > but more than one character in between. The language definition says > the value of such a construct is implementation-defined, i.e. the > programmer can't know what this code will do on somebody else's > compiler. But this is written in so called "portable" package - POV-Ray. It is supposed to be compatible with as much as possible compilers. I'm compiling it with DJGPP, CYGWIN, Borland C++. Official distributions are compiled with Intel C, Visual C, Metrowerks CodeWarrior Pro 7.2. Any other way to write this part as more portable code ? ABX
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |