Can you send the entire error there? I can't really determine where the troublesome line of code originated.


On Thu, Aug 7, 2014 at 3:15 PM, Ken Moffat <zarniwhoop@...3141...> wrote:
Hi,

 I do some things at beyond linuxfromscratch (
http://www.linuxfromscratch.org/blfs/view/svn/ ) and have recently
started including 0.48.5 in my own builds.  We have been using
libsigc++-2.3.1 for some time (I guess that whoever added it did not
realis it was a development version), so we went with 2.3.2.
Unfortunately, that breaks inkscape-0.48.5.  The specific change was
announced at
https://mail.gnome.org/archives/libsigc-list/2014-August/msg00000.html
where it mentioned runtime errors for users who added their own
visit_each overload.  In fact, for 0.48.5 it broke the build, and
the relevant message appeared to be :

/usr/include/sigc++-2.0/sigc++/visit_each.h:169:64: error: cannot
convert ‘const sigc::adaptor_functor<sigc::bound_mem_functor0<void,
SPDesktop> >’ to ‘int’ in initialization
/usr/include/sigc++-2.0/sigc++/visit_each.h:169:29: warning: unused
variable ‘do_visit_each’ [-Wunused-variable]
 { sigc::visitor<T_functor>::do_visit_each(_A_action, _A_functor); }
                             ^
  CXX      device-manager.o
Makefile:5958: recipe for target 'desktop.o' failed
make[2]: *** [desktop.o] Error 1

 Dropping back to 2.3.1 fixed it.  One of my colleagues created a
patch to locally revert that particular change in libsigc++ which
also fixed the build.

 My first question [ at last! ] is: Do you care about people who
build 0.48 with libsigc++-2.3-series ?  If you do, any ideas how to
fix this ?

 Thanks.

ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel