freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Craig A. Berry" <craigberry AT mac.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] tdsstring.c ansi alias problem
- Date: Tue, 6 May 2003 00:40:33 -0500
At 5:54 PM +0200 5/5/03, ZIGLIO Frediano wrote:
>If "*(char **) s = src;" is not OK perhaps it's a priority problem...
>*((char**)s) = src should work better.
That's not the issue at all. The standard says that the compiler may safely
assume two items are in different storage locations if their data types are
different. Here you are trying to make the same storage location have two
different types.
I still don't see why the function just doesn't do:
return (DSTR) *src;
--
________________________________________
Craig A. Berry
mailto:craigberry AT mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
-
[freetds] tdsstring.c ansi alias problem,
Craig A. Berry, 05/04/2003
- <Possible follow-up(s)>
- RE: [freetds] tdsstring.c ansi alias problem, Lowden, James K, 05/05/2003
-
RE: [freetds] tdsstring.c ansi alias problem,
ZIGLIO Frediano, 05/05/2003
-
RE: [freetds] tdsstring.c ansi alias problem,
Craig A. Berry, 05/06/2003
- RE: [freetds] tdsstring.c ansi alias problem, Frediano Ziglio, 05/06/2003
-
RE: [freetds] tdsstring.c ansi alias problem,
Craig A. Berry, 05/06/2003
- RE: [freetds] tdsstring.c ansi alias problem, Lowden, James K, 05/05/2003
Archive powered by MHonArc 2.6.24.