< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] [PATCH] Fix dtor calling


Hi Gregor,

FYI - This problem was fixed on December 2 in SVN revision 8353.

Thanks,
Scott

On Wed, Dec 17, 2008 at 11:48 AM, Gregor Jasny <jasny@xxxxxxxxxx> wrote:
> Hi,
>
> without the attached patch I get the following warning from Visual Studio
> 2005:
>
>> 1>DialogUsageManager.cxx
>> 1>C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Include\memory(604) :
>> warning C4150: deletion of pointer to incomplete type
>> 'resip::RemoteCertStore'; no destructor called
>> 1>
>>  c:\Work\siggw_mgw\extern\resiprocate\resip/dum/DialogUsageManager.hxx(61) :
>> see declaration of 'resip::RemoteCertStore'
>> 1>        C:\Program Files\Microsoft
>> SDKs\Windows\v6.0\VC\Include\memory(603) : while compiling class template
>> member function 'std::auto_ptr<_Ty>::~auto_ptr(void)'
>> 1>        with
>> 1>        [
>> 1>            _Ty=resip::RemoteCertStore
>> 1>        ]
>> 1>        .\DialogUsageManager.cxx(353) : see reference to class template
>> instantiation 'std::auto_ptr<_Ty>' being compiled
>> 1>        with
>> 1>        [
>> 1>            _Ty=resip::RemoteCertStore
>> 1>        ]
>
> Thanks,
> Gregor
>
> Index: resip/dum/DialogUsageManager.hxx
> ===================================================================
> --- resip/dum/DialogUsageManager.hxx    (revision 8306)
> +++ resip/dum/DialogUsageManager.hxx    (working copy)
> @@ -14,6 +14,7 @@
>  #include "resip/dum/Handles.hxx"
>  #include "resip/dum/MergedRequestKey.hxx"
>  #include "resip/dum/RegistrationPersistenceManager.hxx"
> +#include "resip/dum/RemoteCertStore.hxx"
>  #include "resip/dum/ServerSubscription.hxx"
>  #include "rutil/BaseException.hxx"
>  #include "rutil/SharedPtr.hxx"
> @@ -57,7 +58,6 @@
>
>  class AppDialogSetFactory;
>  class DumShutdownHandler;
> -class RemoteCertStore;
>
>  class KeepAliveManager;
>  class HttpGetMessage;
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>