Bug 431017

Summary: "changes meaning" error with g++43
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: libsigc++20Assignee: Denis Leroy <denis>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-07 17:43:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mamoru TASAKA 2008-01-31 05:46:08 UTC
Description of problem:

Now rawhide (dist-f9) switched to gcc43.
I tried to rebuild by package jd with gcc43, but it failed with
many messages like:
------------------------------------------------------------------------
/usr/include/sigc++-2.0/sigc++/signal.h:1665: error: declaration of 'typedef
struct sigc::slot_list<sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil,
sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal0<T_return,
T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:158: error: changes meaning of
'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, sigc::nil,
sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'
--------------------------------------------------------------------------
Perhaps there must be some need to fix jd side, however
would you fix libsigc++20 side first?

http://koji.fedoraproject.org/koji/taskinfo?taskID=385934
http://koji.fedoraproject.org/koji/getfile?taskID=385943&name=build.log


Version-Release number of selected component (if applicable):
jd-2.0.0-0.2.svn1750_trunk.fc9
libsigc++20-2.0.18-2.fc9
gcc-4.3.0-0.7

How reproducible:
100%

Additional info:
rebuild with gcc41 was successful.
http://koji.fedoraproject.org/koji/taskinfo?taskID=376203

Comment 1 Denis Leroy 2008-01-31 11:13:03 UTC
http://mail.gnome.org/archives/libsigc-list/2007-December/msg00001.html

I'll check with Murray on his release plans.


Comment 2 Mamoru TASAKA 2008-02-07 16:47:10 UTC
https://bugs.gentoo.org/show_bug.cgi?id=206063
http://bugzilla.gnome.org/show_bug.cgi?id=454882

It seems that #undef ing SIGC_TYPEDEF_REDEFINE_ALLOWED in 
%{_libdir}/sigc++-2.0/include/sigc++config.h works (and actually
for compiling jd this works: 
http://cvs.fedoraproject.org/viewcvs/*checkout*/devel/jd/jd.spec
http://koji.fedoraproject.org/koji/taskinfo?taskID=401135 
)

Comment 3 Mamoru TASAKA 2008-02-07 17:43:31 UTC
It seems this is fixed in 2.0.18-3.fc9 (actually in sigc++config.h
now SIGC_TYPEDEF_REDEFINE_ALLOWED is not defined)