freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: christos AT zoulas.com (Christos Zoulas)
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] casts and warnings
- Date: Thu, 10 Mar 2005 08:53:09 -0500
On Mar 10, 1:18pm, Frediano.Ziglio AT vodafone.com ("ZIGLIO, Frediano, VF-IT")
wrote:
-- Subject: RE: [freetds] casts and warnings
| Happily gcc under HP-UX give me this warning. Perhaps a better way is to
| define a macro like TDS_ISSPACE (already defined in some C file) to
| handle this case. This can cause a buffer reading underflow with
| undefined behavior (core or bad results). If I remember under Linux the
| "array" is defined from -128 to 255 to handle signed chars correctly.
You are going to have to do this for all the is*() macros, but yes, that
would save you typing a few characters each time you use it.
christos
-
[freetds] casts and warnings,
Lowden, James K, 03/09/2005
-
Re: [freetds] casts and warnings,
entropy, 03/09/2005
-
Re: [freetds] casts and warnings,
James K. Lowden, 03/09/2005
- Re: [freetds] casts and warnings, Christos Zoulas, 03/09/2005
-
Re: [freetds] casts and warnings,
James K. Lowden, 03/09/2005
- <Possible follow-up(s)>
-
RE: [freetds] casts and warnings,
ZIGLIO, Frediano, VF-IT, 03/10/2005
- RE: [freetds] casts and warnings, Christos Zoulas, 03/10/2005
- RE: [freetds] casts and warnings, ZIGLIO, Frediano, VF-IT, 03/10/2005
-
RE: [freetds] casts and warnings,
Lowden, James K, 03/10/2005
- RE: [freetds] casts and warnings, Christos Zoulas, 03/10/2005
-
Re: [freetds] casts and warnings,
entropy, 03/09/2005
Archive powered by MHonArc 2.6.24.