Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391361 - media-video/subtitleeditor-0.39.0 - sami.cc:177:32: error: taking address of temporary [-fpermissive]
Summary: media-video/subtitleeditor-0.39.0 - sami.cc:177:32: error: taking address of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gilles Dartiguelongue (RETIRED)
URL: http://gna.org/bugs/?18436
Whiteboard:
Keywords: Inclusion
: 403393 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-22 09:37 UTC by poncho
Modified: 2012-03-24 14:32 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,16.17 KB, text/plain)
2011-11-22 09:38 UTC, poncho
Details
build log (media-video:subtitleeditor-0.39.0:20111122-091701.log,609.50 KB, text/plain)
2011-11-22 09:38 UTC, poncho
Details
upstream patch (fix-build-error.patch,1.60 KB, patch)
2011-11-22 09:40 UTC, poncho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description poncho 2011-11-22 09:37:26 UTC
see url for upstream bugreport

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =media-video/subtitleeditor-0.39.0
Actual Results:  
Merging translations into sami.se-plugin.
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../src -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/lib64/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -DENABLE_GL -march=native -O2 -pipe -ansi -Wall -Wextra -Wconversion -MT libsami_la-sami.lo -MD -MP -MF .deps/libsami_la-sami.Tpo -c sami.cc  -fPIC -DPIC -o .libs/libsami_la-sami.o
In file included from sami.cc:26:0:
../../../src/utility.h: In function 'bool from_string(const string&, T&)':
../../../src/utility.h:78:72: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
../../../src/utility.h: In function 'bool from_string(const Glib::ustring&, T&)':
../../../src/utility.h:98:72: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
sami.cc: In member function 'void Sami::read_subtitle(FileReader&)':
sami.cc:177:32: error: taking address of temporary [-fpermissive]
make[4]: *** [libsami_la-sami.lo] Error 1
Comment 1 poncho 2011-11-22 09:38:04 UTC
Created attachment 293387 [details]
emerge --info
Comment 2 poncho 2011-11-22 09:38:43 UTC
Created attachment 293389 [details]
build log
Comment 3 poncho 2011-11-22 09:40:33 UTC
Created attachment 293391 [details, diff]
upstream patch

Witch this patch from http://gna.org/bugs/?18436 subtitleeditor compiles fine for me.
Comment 4 Pacho Ramos gentoo-dev 2012-02-15 11:27:57 UTC
*** Bug 403393 has been marked as a duplicate of this bug. ***
Comment 5 Pacho Ramos gentoo-dev 2012-03-24 14:32:32 UTC
Should be fixed in:

+*subtitleeditor-0.40.0 (24 Mar 2012)
+
+  24 Mar 2012; Pacho Ramos <pacho@gentoo.org> +subtitleeditor-0.40.0.ebuild,
+  -subtitleeditor-0.38.0.ebuild, -subtitleeditor-0.39.0.ebuild:
+  Version bump, remove old.
+