[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [PATCH] VC warnings

From: Sander Striker <striker_at_apache.org>
Date: 2002-04-23 18:05:40 CEST

> From: Karl Fogel [mailto:kfogel@newton.ch.collab.net]
> Sent: 23 April 2002 17:55

> "Sander Striker" <striker@apache.org> writes:
> > Got lots of warnings on the windows build. This takes care
> > of them. Not sure we want to typecast ourselves into oblivion
> > though.
> >
> > This patch deliberately has no log msg (each cast needs review).
> >
> > Thoughts?
>
> Gack. I wonder: is there a flag we can pass to VC to suppress this
> kind of warning, instead? (Or would that have other undesirable side
> effects?)

You can surpress the warnings, yes. But, this would mean that we
ignore usefull warnings.
 
> This patch may take care of the situation now, but the same problem
> will be constantly arising in future code. I'd hate to be in a
> situation where every code change committed from non-Win32 needs to be
> touched up, after the fact, to placate VC. What a pain that would
> be...

Well, actually, VC is right. Our *nix compilers just aren't as strict
(or the types do actually match on some platforms).
The types _do_ mismatch, and VC complains. This just means we should
be more carefull about our typing.

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 23 17:59:53 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.