[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnash-commit
Subject:    [Gnash-commit] [bug #44636] vaapi build failure, vaapi/VaapiContext.h:87:76: error: use of deleted f
From:       Chi-Thanh Christopher Nguyen <INVALID.NOREPLY () gnu ! org>
Date:       2015-04-01 1:49:50
Message-ID: 20150401-014950.sv79847.56636 () savannah ! gnu ! org
[Download RAW message or body]

Follow-up Comment #2, bug #44636 (project gnash):

That fixed the build error in VaapiGlobalContext.cpp, but later it will hit
another problem in gtk_glue_agg_vaapi.cpp:

gtk/gtk_glue_agg_vaapi.cpp: In member function ‘gnash::VaapiVideoWindow*
gnash::GtkAggVaapiGlue::getVideoWindow(std::shared_ptr<gnash::VaapiSurface>,
GdkWindow*, const gnash::VaapiRectangle&)':
gtk/gtk_glue_agg_vaapi.cpp:308:37: error: use of deleted function
‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&)
[with _Tp = gnash::VaapiContextData; _Dp =
std::default_delete<gnash::VaapiContextData>]'
         context->setData(contextData);
                                     ^
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 gtk/gtk_glue_agg_vaapi.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;
       ^
In file included from gtk/gtk_glue_agg_vaapi.cpp:35:0:
../libdevice/vaapi/VaapiContext.h:87:10: error:   initializing argument 1 of
‘void
gnash::VaapiContext::setData(std::unique_ptr<gnash::VaapiContextData>)'
     void setData(std::unique_ptr<VaapiContextData> user_data) { _user_data =
std::move(us
          ^
Makefile:2824: recipe for target 'gtk_gnash-gtk_glue_agg_vaapi.o' failed

Gentoo toolchain by default enables pie, stack-protector, FORTIFY_SOURCE=2 and
full relro.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/gnash-commit

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic