View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#349
I'm testing newest code from bitbucket on N900/Fremantle.

(I'm not supposing you are fixing all these, fixing some of them can break diablo. I'm just reporting)

Disabled -Werror, made package. Installing deb to the device reboots device (intentional?)

I need to launch telescope manually, and I get:
Code:
Cannot load image: /usr/share/telescope/text-background.png
Cannot load image: /usr/share/telescope/panel.png
Cannot load image: /usr/share/telescope/panel-focus-left.png
Cannot load image: /usr/share/telescope/panel-focus-right.png
Cannot load image: /usr/share/telescope/panel-focus-middle.png
Indeed deb-package doesn't contain these, even source code has them.

And then I can show Telescope task switcher via:
Code:
dbus-send --print-reply --dest=org.telescope /Telescope org.telescope.Telescope.Show
What are the ways to show Telescope launcher? N900 doesn't have F5.

----

Reasons to disable -Werror
Code:
XTools.cpp: In static member function 'static LinkedList<long unsigned int> XTools::windowList(Window, bool)':
XTools.cpp:92: warning: dereferencing type-punned pointer will break strict-aliasing rules
XTools.cpp:108: warning: dereferencing type-punned pointer will break strict-aliasing rules
XTools.cpp: In static member function 'static bool XTools::checkIfWindowMinimized(Window)':
XTools.cpp:341: warning: dereferencing type-punned pointer will break strict-aliasing rules
XTools.cpp: In static member function 'static Window XTools::activeWindow()':
XTools.cpp:369: warning: dereferencing type-punned pointer will break strict-aliasing rules
XTools.cpp: In static member function 'static Atom XTools::windowType(Window)':
XTools.cpp:397: warning: dereferencing type-punned pointer will break strict-aliasing rules
XTools.cpp: In static member function 'static bool XTools::fetchWindowIconFromProperty(Window, int*, int*, Pixmap*, Picture*)':
XTools.cpp:482: warning: dereferencing type-punned pointer will break strict-aliasing rules
Code:
XEventLoop.cpp:90: warning: 'dbus_watch_get_fd' is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:373)