[Uml-devel] WidgetSet / Widgets plug-in

Luis De la Parra lparrab at gmx.net
Wed Apr 9 04:40:05 UTC 2003


hi 

>> if someone does try this, I'd like to hear any comments.
>
>uwdk doesn't compile on my system:
...
><warnings>
>webclasswidget.cpp: In member function `void
>Umbrello::WebClassWidget::calculateSize()':
>webclasswidget.cpp:214: warning: invalid conversion from `int' to `
...
>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

hmm..I guess you are using gcc3.x (because of the warnings)
I copied the ClassWidget and just changed a couple of lines, but like I
said, I did that a while ago and now it's out of sync ( those problems are now
solved for the normal ClassWidget )
I'll fix it as soon as I get home... if you really cant wait, just change
max and min for KMax and KMin and it should build fine - 

btw.. is there a way (switch) to tell gcc2.95 to be more "strict" ? that way
I could catch some/all errors due to the differences between the two
compilers without having to upgrade

saludos

luis

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!





More information about the umbrello-devel mailing list