I noticed the following warning when building tdewebdev:
execbutton.cpp:210:55: warning: comparison with string literal results in unspecified behaviour [-Waddress]
From what I gather the problem is trying to compare incompatible data types, usually strings to pointers.
Somebody please review the proposed patch:
======================================
diff -urN tdewebdev/kommander/widgets/execbutton.cpp tdewebdev.new/kommander/widgets/execbutton.cpp
--- tdewebdev/kommander/widgets/execbutton.cpp 2012-10-21 13:12:11.000000000 -0500
+++ tdewebdev.new/kommander/widgets/execbutton.cpp 2012-11-01 11:10:09.000000000 -0500
@@ -207,7 +207,7 @@
TQWidget * w;
while ( (w=it.current()) != 0 ) { // for each widget...
++it;
- if (w->name() == args[0] && w->className() == "PopupMenu")
+ if (strcmp(w->name(), args[0]) && w->className() == "PopupMenu")
{
TQPopupMenu *popup = dynamic_cast<TQPopupMenu*>(w->child("unnamed", "KPopupMenu"));
this->setPopup(popup);
======================================
Thanks!
Darrell
All,
I thought you might like to see this screenshot of a little project I am
working on, especially those of you who have had the misfortune of using
the last two Ubuntu releases with non-TDE applications. ;-) This is a
full GTK3 theme engine running directly on Cairo, using TQt3/TDE to render
elements without pixbuf copying or other hacks that the old GTK2 theme
engine used. It is FAST, even faster than Qt4, on a low-power atom
system.
If you like what you see, donations to the project are always welcome, and
would help speed up public release of this feature!
Tim