freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Can't compile nightly build with VC6
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Can't compile nightly build with VC6
- Date: Sun, 24 Oct 2010 04:45:26 -0400
James K. Lowden wrote:
> Unfortunately, the documentation doesn't mention which library provides
> InterlockedExchangePointer.
Actually, it does:
"This function is implemented using a compiler intrinsic where
possible.
For more information, see the Winbase.h header file and
_InterlockedCompareExchangePointer."
That is, it's implemented not by a library, but by a compiler intrinsic.
If the header file is included, the compiler won't assume
InterlockedExchangePointer is an external function returning int (as the
warning indicated) but will instead generate the necessary code in place.
(N.B. Regarding "where possible", above. The documementation for
_InterlockedCompareExchangePointer says "These routines are only available
as intrinsics." I would hope that means if compiler intrinsics are not
available (perhaps because you're using an old compiler, say) you'll get
an error.)
--jkl
-
[freetds] Can't compile nightly build with VC6,
Михаил Гаврилов, 10/21/2010
-
Re: [freetds] Can't compile nightly build with VC6,
James K. Lowden, 10/21/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Михаил Гаврилов, 10/22/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Frediano Ziglio, 10/22/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Михаил Гаврилов, 10/23/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Frediano Ziglio, 10/23/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Михаил Гаврилов, 10/23/2010
- Re: [freetds] Can't compile nightly build with VC6, James K. Lowden, 10/24/2010
- Re: [freetds] Can't compile nightly build with VC6, James K. Lowden, 10/24/2010
- Re: [freetds] Can't compile nightly build with VC6, Михаил Гаврилов, 10/24/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Михаил Гаврилов, 10/23/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Frediano Ziglio, 10/23/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Михаил Гаврилов, 10/23/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Frediano Ziglio, 10/22/2010
-
Re: [freetds] Can't compile nightly build with VC6,
Михаил Гаврилов, 10/22/2010
-
Re: [freetds] Can't compile nightly build with VC6,
James K. Lowden, 10/21/2010
Archive powered by MHonArc 2.6.24.