[reSIProcate] Visual Studio 2005 compilation warnings of 1.4 branch

Adam Roach adam at nostrum.com
Tue Dec 2 09:51:24 CST 2008


Hmm... it would seem that the proper solution for #1 would be to replace 
strdup with _strdup everywhere.

/a

Scott Godin wrote:
> I'll add these fixes - thanks!
>
> Scott
>
> On Tue, Dec 2, 2008 at 9:34 AM, Dmitry Semyonov <dsemyonov at dins.ru> wrote:
>   
>> Hello all,
>>
>> Could somebody include these trivial fixes into reSIProcate sources?
>>
>>
>>  1. Multiple "warning C4996: 'strdup': The POSIX name for this item is
>> deprecated. Instead, use the ISO C++ conformant name: _strdup." warnings
>> during ares compilation
>>
>>  fix: add the following line after windows headers includes under #ifdef
>> WIN32 at the top of contrib/ares.h
>>
>> #pragma warning(disable:4996)
>>
>>
>>  2. DialogUsageManager.cxx: "warning C4150: deletion of pointer to
>> incomplete type 'resip::RemoteCertStore'; no destructor called"
>>
>>  fix: add the following line into dum/DialogUsageManager.cxx
>>
>> #include "resip/dum/RemoteCertStore.hxx"
>>
>> --
>> ...Bye..Dmitry.
>> _______________________________________________
>> resiprocate-devel mailing list
>> resiprocate-devel at resiprocate.org
>> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>>
>>     
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>   




More information about the resiprocate-devel mailing list