On Wednesday 10 October 2007 16:19, Ricardo Cruz wrote:
On yast-ui headers, we have code as follows: virtual char *widgetClass() { return "YCheckBox"; }
This results in a ton of warnings on newer versions of g++ (at least 4.2.1). This function names the class, while debugLabel() names the object, so the string should always be constructed like that. Let's just make the pointer const. Patch appended.
It's already done in the mod-ui branch. This will become the new trunk in a
while. Until then, let's please keep any change to the trunk minimal so
merging everything will be reasonably possible.
The new mod-ui branch:
http://svn.opensuse.org/svn/yast/branches/tmp/sh/mod-ui/
The general idea:
http://idea.opensuse.org/content/ideas/making-the-yast2-ui-usable-without-al...
Readme / Changelog:
http://svn.opensuse.org/svn/yast/branches/tmp/sh/mod-ui/core/libyui/src/Chan...
Architecture diagrams (visible from the outside, might take an hour or two to
get mirrored there):
http://www.suse.de/~sh/y2-ui-arch-old.pdf
http://www.suse.de/~sh/y2-ui-arch-modular.pdf
I talked with mmeeks about it some time ago. I hope he kept you updated.
CU
--
Stefan Hundhammer