[Uml-devel] WidgetSet / Widgets plug-in

Sebastian Stein seb_stein at gmx.de
Tue Apr 8 23:59:04 UTC 2003


Luis De la Parra Blum <lparrab at gmx.net> [030409 08:39]:
> if someone does try this, I'd like to hear any comments.

uwdk doesn't compile on my system:

make[4]: Entering directory `/usr/src/uwdk/plugins/webwidgets'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/opt/kde/include
-I/usr/lib/qt-3.1.2/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-fno-builtin -g -O2 -fno-exceptions -fno-check-new -fexceptions  -MT
webclasswidget.lo -MD -MP -MF ".deps/webclasswidget.Tpo" \
          -c -o webclasswidget.lo `test -f 'webclasswidget.cpp' || echo
'./'`webclasswidget.cpp; \
        then mv ".deps/webclasswidget.Tpo" ".deps/webclasswidget.Plo"; \
        else rm -f ".deps/webclasswidget.Tpo"; exit 1; \
        fi
webclasswidget.cpp: In member function `virtual void
   Umbrello::WebClassWidget::drawShape(QPainter&)':
webclasswidget.cpp:106: warning: assignment to `int' from `double'
webclasswidget.cpp:106: warning: argument to `int' from `double'
webclasswidget.cpp:107: warning: assignment to `int' from `double'
webclasswidget.cpp:107: warning: argument to `int' from `double'
webclasswidget.cpp:137: warning: passing `double' for argument 1 of `void
   QPainter::drawLine(int, int, int, int)'
webclasswidget.cpp:137: warning: passing `double' for argument 3 of `void
   QPainter::drawLine(int, int, int, int)'
webclasswidget.cpp:156: warning: passing `double' for argument 1 of `void
   QPainter::drawLine(int, int, int, int)'
webclasswidget.cpp:156: warning: passing `double' for argument 3 of `void
   QPainter::drawLine(int, int, int, int)'
webclasswidget.cpp:175: warning: passing `double' for argument 1 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp:175: warning: passing `double' for argument 2 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp:177: warning: passing `double' for argument 1 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp:177: warning: passing `double' for argument 2 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp:179: warning: passing `double' for argument 1 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp:179: warning: passing `double' for argument 2 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp:181: warning: passing `double' for argument 1 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp:181: warning: passing `double' for argument 2 of `
   QPoint::QPoint(int, int)'
webclasswidget.cpp: In member function `void
   Umbrello::WebClassWidget::calculateSize()':
webclasswidget.cpp:214: warning: invalid conversion from `int' to `
   Umbrello::WebClassWidget::TextFlags'
webclasswidget.cpp:253: warning: invalid conversion from `int' to `
   Umbrello::WebClassWidget::TextFlags'
webclasswidget.cpp:286: warning: invalid conversion from `int' to `
   Umbrello::WebClassWidget::TextFlags'
webclasswidget.cpp:290: warning: invalid conversion from `int' to `
   Umbrello::WebClassWidget::TextFlags'
webclasswidget.cpp:309: `max' undeclared (first use this function)
webclasswidget.cpp:309: (Each undeclared identifier is reported only once
for
   each function it appears in.)
webclasswidget.cpp:299: warning: unused variable `int currentWidth'
make[4]: *** [webclasswidget.lo] Fehler 1

Steinchen
-- 
Umbrello UML Modeller
Description     : UML diagram drawing tool for KDE with code generation
Homepage        : http://www.umbrello.org/




More information about the umbrello-devel mailing list