On 15/7/11 07:37, Krzysztof Kosiński wrote:
> W dniu 15 lipca 2011 06:02 użytkownik Jon Cruz <jon@...> napisał:
>>> CXX arc-context.o
>>> In file included from ./2geom/geom.h:42,
>>> from snapped-point.h:17,
>>> from snapper.h:20,
>>> from line-snapper.h:17,
>>> from guide-snapper.h:18,
>>> from snap.h:22,
>>> from sp-namedview.h:26,
>>> from arc-context.cpp:29:
>>> ./2geom/bezier-curve.h: In copy constructor ‘Geom::BezierCurve::BezierCurve(const Geom::BezierCurve&)’:
>>> ./2geom/bezier-curve.h:50: warning: base class ‘class Geom::Curve’ should be explicitly initialized in the copy constructor
>>> Compiler: g++-4.2
>>> CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O0 -Wall
>> It definitely looks like actual bugs in 2geom. I can look at those tonight or tomorrow and get a patch together.
> I just deleted the copy constructor, it was equivalent to the default
> one anyway.
> By the way, I think this warning is bogus, because Geom::Curve has no
> member variables and no constructors defined (e.g. it only has the
> default no-argument constructor which does nothing).
Moving to a newer GCC version is not an option, and Apple will never upgrade
the GCC version they ship with Xcode due to license changes in GCC itself.
The system libs and all dependencies inkscape dynamically links to, are build
with GCC 4.0.1 (on Leopard) or GCC 4.2.1 (Snow Leopard). Building just Inkscape
itself with a newer version of GCC (e.g. to enable OpenMP) causes various
issues (in my tests: memory allocation warnings with GCC 4.4, segfaults with
GCC 4.5), which are known (i.e. reported in different places for other software
too, according to google) but apparently not solvable/avoidable (?). If someone
is interested to further investigate, I'll revisit my bookmarks for related
BTW - the changes to the icon naming in r10451 broke toggling the status icons
in the "Layers" dialog and in the layer indicator on the status line.
The icon names changed in 'src/ui/dialog/layers.cpp' ignore the status, but
even after correcting those the icons do not change on click. I don't know
what fixes/reverts are needed in 'src/ui/widget/imagetoggler.*'.