This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: `InterlockedExchangePointer' warning in current CVS
On Wed, Sep 05, 2001 at 06:05:39AM +1000, Robert Collins wrote:
>On Wed, 2001-09-05 at 00:39, Corinna Vinschen wrote:
>> Hi,
>>
>> when compiling thread.cc in the current Cygwin CVS version
>> I'm getting a warning:
>>
>> ../../../../src/winsup/cygwin/thread.cc:1154: warning: `InterlockedExchangePointer' redefined
>> /home/corinna/src/cygwin/src/winsup/w32api/include/winbase.h:1322: warning: this is the location of the previous definition
>>
>> Robert, could you look into that and perhaps fix that?
>
>Sounds like it's been implemented :]
>
>from thread.cc:
>/*FIXME: implement InterlockExchangePointer and get rid of the silly
>typecasts below
> */
>#define InterlockedExchangePointer InterlockedExchange
>
>No can dor for ~24 hours, after that I'll dig in.
No need. I checked in a fix for this and then I checked in a fix for
w32api.
I hate warnings when I'm rebuilding stuff...
cgf