W dniu 15 lipca 2011 06:02 użytkownik Jon Cruz <jon@...18...> 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).
Regards, Krzysztof