Mailinglist Archive: yast-devel (132 mails)

< Previous Next >
Re: [yast-devel] yast-ui: Lack of const for code arrays
  • From: Stefan Hundhammer <sh@xxxxxxx>
  • Date: Thu, 11 Oct 2007 13:49:13 +0200
  • Message-id: <200710111349.13580.sh@xxxxxxx>
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-all-the-ycp-stuff

Readme / Changelog:

http://svn.opensuse.org/svn/yast/branches/tmp/sh/mod-ui/core/libyui/src/ChangeLog

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 <sh@xxxxxxx>                Penguin by conviction.
YaST2 Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Nürnberg, Germany
-- 
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References