[Bug 223362] devel/cpprestsdk: Add pkgconf file, disable build tests ans samples

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 29 13:30:54 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223362

rozhuk.im at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #187642|0                           |1
        is obsolete|                            |

--- Comment #2 from rozhuk.im at gmail.com ---
Created attachment 192905
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192905&action=edit
build fix

- Disable build test and samples
- Fix build error:
/usr/include/c++/v1/memory:3656:5: error: destructor called on non-final
'pplx::details::linux_scheduler' that has virtual functions but non-virtual
destructor [-Werror,-Wdelete-non-virtual-dtor]
    __data_.second().~_Tp();
    ^
/usr/include/c++/v1/memory:3612:5: note: in instantiation of member function
'std::__1::__shared_ptr_emplace<pplx::details::linux_scheduler,
std::__1::allocator<pplx::details::linux_scheduler> >::__on_zero_shared'
requested here
    __shared_ptr_emplace(_Alloc __a)
    ^
/usr/include/c++/v1/memory:4277:26: note: in instantiation of member function
'std::__1::__shared_ptr_emplace<pplx::details::linux_scheduler,
std::__1::allocator<pplx::details::linux_scheduler> >::__shared_ptr_emplace'
requested here
    ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                         ^
/usr/include/c++/v1/memory:4656:29: note: in instantiation of function template
specialization
'std::__1::shared_ptr<pplx::details::linux_scheduler>::make_shared<>' requested
here
    return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...);
                            ^
src/pplx/pplx.cpp:94:40: note: in instantiation of function template
specialization 'std::__1::make_shared<pplx::details::linux_scheduler>'
requested here
                    m_scheduler = std::make_shared<
::pplx::default_scheduler_t>();
                                       ^
/usr/include/c++/v1/memory:3656:23: note: qualify call to silence this warning
    __data_.second().~_Tp();
                      ^

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list