Bugs item #1859663, was opened at 2007-12-28 21:18
Message generated for change (Comment added) made by pabs3
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1859663&group_id=144022
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compile-Time
>Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Paul Wise (pabs3)
Summary: compile problem under Mandriva.2008
Initial Comment:
gcc output:
In file included from mod_mirror/mod_mirror.cpp:35:
mod_mirror/../app.h:31:34: error: sigc++/compatibility.h: Нет такого файла или
каталога
make[3]: *** [synfigstudio-mod_mirror.o] Ошибка 1
problem:
the "sigc++/compatibility.h" is missing.
----------------------------------------------------------------------
>Comment By: Paul Wise (pabs3)
Date: 2007-12-29 13:30
Message:
Logged In: YES
user_id=35028
Originator: NO
Fixed in SVN r1242. Thanks for reporting.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-29 04:03
Message:
Logged In: NO
When I commented out the line "#include <sigc++/compatibility.h>"
I've got these errors
In file included from mod_mirror/state_mirror.cpp:39:
mod_mirror/../canvasview.h:204: ошибка: ‘SigC’ не был
декларирован (error: 'SigC' wasn't declared)
[skipped]
In file included from mod_mirror/../dialog_tooloptions.h:33,
from mod_mirror/state_mirror.cpp:47:
mod_mirror/../dockable.h:62: ошибка: ‘SigC’ не был
декларирован (error: 'SigC' wasn't declared)
[skipped]
make[3]: *** [synfigstudio-state_mirror.o] Ошибка 1
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-28 23:14
Message:
Logged In: NO
libsigc++-2.1.1/ChangeLog says this:
------------------------------------------------------------
2007-08-14 Murray Cumming <[EMAIL PROTECTED]>
* sigc++/Makefile.am:
* sigc++/compatibility.h: Removed this header.
* sigc++/bind.h:
* sigc++/bind_return.h:
* sigc++/connection.h:
* sigc++/macros/class_slot.h.m4:
* sigc++/macros/hide.h.m4:
* sigc++/macros/method_slot.h.m4:
* sigc++/macros/object_slot.h.m4:
* sigc++/macros/retype.h.m4:
* sigc++/macros/signal.h.m4:
* sigc++/macros/slot.h.m4:
* sigc++/object.h:
* sigc++/retype_return.h: Removed deprecated
compatibility API, to probably fix the build with
some compilers, such as some versions of the Sun Forte C++
CC compiler. Some of these headers are now mostly empty and
should be removed later.
This API has been deprecated April 2004, and
is not widely used, so it seems safe to do this now.
------------------------------------------------------------
I commented out the line that mentions compatibility.h in
synfig-studio/trunk/src/gtkmm/app.h and everything still seems to be OK.
Is the fix as simple as that?
----------------------------------------------------------------------
Comment By: Paul Wise (pabs3)
Date: 2007-12-28 21:36
Message:
Logged In: YES
user_id=35028
Originator: NO
More info from IRC and the site:
http://www.synfig.com/2007/10/11/synfig-irregular-news/#comment-260
I've got an include error due to sigc++/compatibility.h is missing.
Is there any way to use ‘sigc’ namespace instead of ‘SigC’ in the
sources?
12:31 <pabs3> dinosaur: which version of the sigc++ headers do you have
installed?
12:39 <dinosaur> sigc++ version is 2.1.1
12:44 <dinosaur> libsigc++2.0-devel-2.1.1-2mdv2008.0
12:44 <dinosaur> the exactly name of the rpm-package
12:51 <pabs3> dinosaur: hmm, newer version that debian has
12:51 <pabs3> can you upload the result of 'rpm -ql
libsigc++2.0-devel-2.1.1-2mdv2008.0' to pastebin.ca?
12:58 <dinosaur> http://pastebin.ca/834706
12:59 <dinosaur> post will be expired in 1 hour
The post did not contain any mention of compatibility.h
13:02 < pabs3> dinosaur: can you file a bug about this? it unfortunately
isn't trivial to fix
13:03 < pabs3> 13 files use the SigC namespace
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1859663&group_id=144022
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl