Gregg Dameron <gregg.dameron_at_lmco.com> writes:
> Walter Dnes wrote:
>
> > On Mon, Mar 11, 2002 at 06:55:54PM -0700, Gregg Dameron wrote
> > > The Solaris C compiler (acc) complains when building fvwm2. In our shop
> > > we tend to get nervous about such things, since we will be providing
> > > systems (with fvwm2 installed) to our end users, and must answer to any
> > > bug reports they submit. (They have a real knack for exposing weird,
> > > intermittent anomalies.) As a result, we've developed a healthy respect
> > > for compiler warnings. What follows are the warnings from a build of
> > > 2.4.6. Any plans to address these?
> >
> > This issue also shows up with Mozilla, whose development newsgroups I
> > follow. Short answer... Solaris' native compiler is *NOT* ansi standard.
> > Install a standard compiler like gcc. That will solve not only fvwm2
> > compilation warnings/errors, but everything else that expects standard C.
> >
>
> Changing compilers doesn't address our concern. In fact, using "gcc
> -pedantic" produces warnings similar to acc's. It comes down to this: a
> small number of fvwm2 source files have ANSI-related issues. Perhaps all of
> them are benign. Perhaps none of them will ever show up as a runtime
> anomaly. But there's this nagging thought: If the producers of acc and gcc
> went to the trouble to warn us about something the ANSI C committee frowns
> upon, isn't it prudent to pay attention?
We definitely pay attention to all the warnings that gcc produces.
(And fix them.)
I've tried to fix all the Solaris warnings in the past, but differences
in the Solaris X header files vs. other X implementations made that
impossible.
I looked at most of the warnings you reported and didn't see
anything that would cause a problem. One of them
(code not reached) should be fixed, but it wouldn't cause
a problem, it was just some left over code.
I'm not sure what "acc" is though. We have Sun's compiler
here, but I don't have anything named "acc" in my path.
--
Dan Espen E-mail: dane_at_mk.telcordia.com
444 Hoes Lane Room RRC 1C-214 Phone: (732) 699-5570
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Mar 12 2002 - 16:01:23 GMT