Mailinglist Archive: opensuse-packaging (109 mails)

< Previous Next >
Re: [opensuse-packaging] Reminder to fix your packages for compiling with GCC 4.3
  • From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
  • Date: Wed, 17 Oct 2007 13:10:51 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0710171310350.24618@xxxxxxxxxxxxxxxxxxxxxxxxx>

On Oct 17 2007 13:09, Marcus Rueckert wrote:
>On 2007-10-17 12:56:51 +0200, Holger Macht wrote:
>> What would result in
>
>>   char *prop = (char*)"laptop_panel.num_levels";
>const char *prop = "laptop_panel.num_levels";
>
>should fix it too no?

Yes. And if it is supposed to be writable, use char prop[].
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >