[Live-devel] Compilation with MSVC
Ross Finlayson
finlayson at live555.com
Fri Jan 31 13:44:58 PST 2020
> On Jan 31, 2020, at 1:37 PM, Jonathan Brady <jonathan.brady+live555 at denbridgemarine.com> wrote:
>
> On 31/01/2020 20:38, Ross Finlayson wrote:
>>> On Jan 31, 2020, at 9:30 AM, Jonathan Brady <jonathan.brady+live555 at denbridgemarine.com> wrote:
>>>
>>> Ross,
>>>
>>> Just a quick note to let you know that compilation with MSVC is broken due to the changes for TLS:
>>>
>>> In particular on line 1942 of liveMedia/RTSPClient.cpp the cast to const u_int8_t * of data.
>> In FreeBSD (and probably Linux), the second parameter to “send()” is defined as
>> const void *
>> How is it defined in the version of MSVC that you are using?
>>
> It is defined as:
>
> int send(SOCKET,const char *,int,int)
Grumble. I’ll remove the cast from the next version of the code. Thanks for the report.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list