gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #44636] vaapi build failure, vaapi/VaapiContext.h:87


From: Chi-Thanh Christopher Nguyen
Subject: [Gnash-commit] [bug #44636] vaapi build failure, vaapi/VaapiContext.h:87:76: error: use of deleted function
Date: Thu, 26 Mar 2015 14:54:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32

URL:
  <http://savannah.gnu.org/bugs/?44636>

                 Summary: vaapi build failure, vaapi/VaapiContext.h:87:76:
error: use of deleted function
                 Project: Gnash - The GNU Flash player
            Submitted by: chithanh
            Submitted on: Do 26 Mär 2015 14:54:18 GMT
                Category: build
                Severity: 3 - Normal
                 Release: master
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

vaapi build fails on Gentoo with the following error: (git checkout from
today)

In file included from vaapi/VaapiContext.cpp:23:0:
vaapi/VaapiContext.h: In member function ‘void
gnash::VaapiContext::setData(std::unique_ptr<gnash::VaapiContextData>)’:
vaapi/VaapiContext.h:87:76: error: use of deleted function
‘std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(const
std::unique_ptr<_Tp, _Dp>&) [with _Tp = gnash::VaapiContextData; _Dp =
std::default_delete<gnash::VaapiContextData>]’
 d setData(std::unique_ptr<VaapiContextData> user_data) { _user_data =
user_data
                                                                     ^
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/format/alt_sstream.hpp:21,
                 from /usr/include/boost/format/internals.hpp:23,
                 from /usr/include/boost/format.hpp:38,
                 from vaapi/VaapiContext.cpp:20:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/unique_ptr.h:357:19:
note: declared here
       unique_ptr& operator=(const unique_ptr&) = delete;
                   ^
vaapi/VaapiGlobalContext.cpp: In constructor
‘gnash::VaapiGlobalContext::VaapiGlobalContext(std::unique_ptr<gnash::VaapiDisplay>)’:
vaapi/VaapiGlobalContext.cpp:36:23: error: use of deleted function
‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&)
[with _Tp = gnash::VaapiDisplay; _Dp =
std::default_delete<gnash::VaapiDisplay>]’
     : _display(display)
                       ^
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/format/alt_sstream.hpp:21,
                 from /usr/include/boost/format/internals.hpp:23,
                 from /usr/include/boost/format.hpp:38,
                 from ../libbase/log.h:31,
                 from vaapi/VaapiGlobalContext.cpp:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/unique_ptr.h:356:7:
note: declared here
       unique_ptr(const unique_ptr&) = delete;
       ^
vaapi/VaapiGlobalContext.cpp: In static member function ‘static
gnash::VaapiGlobalContext* gnash::VaapiGlobalContext::get()’:
vaapi/VaapiGlobalContext.cpp:148:66: error: use of deleted function
‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&)
[with _Tp = gnash::VaapiDisplay; _Dp =
std::default_delete<gnash::VaapiDisplay>]’
             vaapi_global_context.reset(new VaapiGlobalContext(dpy));
                                                                  ^
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/format/alt_sstream.hpp:21,
                 from /usr/include/boost/format/internals.hpp:23,
                 from /usr/include/boost/format.hpp:38,
                 from ../libbase/log.h:31,
                 from vaapi/VaapiGlobalContext.cpp:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/bits/unique_ptr.h:356:7:
note: declared here
       unique_ptr(const unique_ptr&) = delete;
       ^
vaapi/VaapiGlobalContext.cpp:35:1: error:   initializing argument 1 of
‘gnash::VaapiGlobalContext::VaapiGlobalContext(std::unique_ptr<gnash::VaapiDisplay>)’
 VaapiGlobalContext::VaapiGlobalContext(std::unique_ptr<VaapiDisplay>
display)
 ^
Makefile:1354: recipe for target 'libgnashvaapi_la-VaapiContext.lo' failed
make[2]: *** [libgnashvaapi_la-VaapiContext.lo] Error 1




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Do 26 Mär 2015 14:54:18 GMT  Name: build.log  Size: 55kB   By: chithanh

<http://savannah.gnu.org/bugs/download.php?file_id=33460>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44636>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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