Description:
Making all in source
make[3]: Entering directory `./mysql-gui-common/library_gc/source'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../ftgl/include -I../include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/freetype2 -I../auto_arrange/include -DUSE_FONTCONFIG -g -O2 -MT myx_gc_base.o -MD -MP -MF ".deps/myx_gc_base.Tpo" -c -o myx_gc_base.o myx_gc_base.cpp; \
then mv -f ".deps/myx_gc_base.Tpo" ".deps/myx_gc_base.Po"; else rm -f ".deps/myx_gc_base.Tpo"; exit 1; fi
In file included from ../include/myx_gc_view.h:28,
from ../include/myx_gc_canvas.h:26,
from myx_gc_base.cpp:24:
../include/myx_gc_primitives.h:70: error: base `CPrimitive' with only non-default constructor in class without a constructor
make[3]: *** [myx_gc_base.o] Error 1
How to repeat:
compile from svn revision 1228 or 1229.
Suggested fix:
Index: mysql-gui-common/library_gc/include/myx_gc_primitives.h
===================================================================
--- mysql-gui-common/library_gc/include/myx_gc_primitives.h (revision 1229)
+++ mysql-gui-common/library_gc/include/myx_gc_primitives.h (working copy)
@@ -65,12 +65,12 @@
virtual void __cdecl setEndPoint(const TVertex& end);
};
-
+/*
class GENERIC_CANVAS_API CPolyLine: public CPrimitive
{
};
-
+*/
class GENERIC_CANVAS_API CRectangle: public CPrimitive
{
protected:
Description: Making all in source make[3]: Entering directory `./mysql-gui-common/library_gc/source' if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../ftgl/include -I../include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/freetype2 -I../auto_arrange/include -DUSE_FONTCONFIG -g -O2 -MT myx_gc_base.o -MD -MP -MF ".deps/myx_gc_base.Tpo" -c -o myx_gc_base.o myx_gc_base.cpp; \ then mv -f ".deps/myx_gc_base.Tpo" ".deps/myx_gc_base.Po"; else rm -f ".deps/myx_gc_base.Tpo"; exit 1; fi In file included from ../include/myx_gc_view.h:28, from ../include/myx_gc_canvas.h:26, from myx_gc_base.cpp:24: ../include/myx_gc_primitives.h:70: error: base `CPrimitive' with only non-default constructor in class without a constructor make[3]: *** [myx_gc_base.o] Error 1 How to repeat: compile from svn revision 1228 or 1229. Suggested fix: Index: mysql-gui-common/library_gc/include/myx_gc_primitives.h =================================================================== --- mysql-gui-common/library_gc/include/myx_gc_primitives.h (revision 1229) +++ mysql-gui-common/library_gc/include/myx_gc_primitives.h (working copy) @@ -65,12 +65,12 @@ virtual void __cdecl setEndPoint(const TVertex& end); }; - +/* class GENERIC_CANVAS_API CPolyLine: public CPrimitive { }; - +*/ class GENERIC_CANVAS_API CRectangle: public CPrimitive { protected: