bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug fixes for commoncpp2 v1.2.0


From: David Sugar
Subject: Re: Bug fixes for commoncpp2 v1.2.0
Date: Thu, 24 Jun 2004 22:25:26 -0400
User-agent: KMail/1.6.2

The attachments are missing.

On Wednesday 23 June 2004 01:33 pm, address@hidden wrote:
> I have enclosed modified copies of  thread.h and socket.cpp that had
> problems on Win32 for me.  I have labled the lines or sections that have
> been modified with "----- vic patch" so they are easy to find.  Here is a
> summary of the changes:
>
> 1) IPV4Address::setIPAddress() - This method did not work when a host name
> was pased to it.  This is because inet_addr() returns INADDR_NONE when it
> it passed a host name and fails.
>
> 2) In thread.h these lines (109-113) caused link problems which go away
> when they are commented out:
>
> #if defined(_MSC_VER) && (_MSC_VER < 1300)
> __declspec(dllimport) long __stdcall InterlockedIncrement(long *);
> __declspec(dllimport) long __stdcall InterlockedDecrement(long *);
> __declspec(dllimport) long __stdcall InterlockedExchange(long *, long);
> #endif
>
> -- vic
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]