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:27:59 -0400
ÐÐ¸Ñ Ð°Ð¸Ð» ÐавÑилов wrote:
> C:\freetds-0.83.dev.20101014\src\tds\ptw32_MCS_lock.c(117) : warning
> C4013: 'InterlockedCompareExchangePointer' undefined; assuming extern
> returning int
> C:\freetds-0.83.dev.20101014\src\tds\ptw32_MCS_lock.c(165) : warning
> C4013: 'InterlockedExchangePointer' undefined; assuming extern
http://msdn.microsoft.com/en-us/library/ms683568(VS.85).aspx
ptw32_MCS_lock.c should include windows.h.
Unfortunately, the documentation doesn't mention which library provides
InterlockedExchangePointer. It is possible, though, that the function's
true name is slightly different (the result of some preprocessor magic in
windows.h) and is provided by a library you're already linking to. By
including the header file, the compiler will import the correct name,
eliminating both the compile-time warning and the linker 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.