Re: [LAD] Bit OT: cleaning code for gcc4

From: Florian Schirmer <florian.schirmer@email-addr-hidden-instruments.de>
Date: Thu Jun 19 2008 - 15:29:19 EEST

Hi,

const char * should do the trick...

Best,
   Florian

Julien Claassen wrote:
> Hello everyone!
> I'm just working on some older code, trying to clean it up for GCC4.2.3. I
> get a lot of warnings like this:
> CuSE.cxx:321: warning: deprecated conversion from string constant to 'char*'
> Not this line but still same kind of error:
> char* choices[] = {" [ ] ", " [*] "};
> The line 321 WARNING was using the defined choices and another char* array
> used in a newCDKSelection call.
> How can I clean this up?
> Thanks and kindest regards
> Julien
>
> --------
> Music was my first love and it will be my last (John Miles)
>
> ======== FIND MY WEB-PROJECT AT: ========
> http://ltsb.sourceforge.net
> the Linux TextBased Studio guide
> ======= AND MY PERSONAL PAGES AT: =======
> http://www.juliencoder.de
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Thu Jun 19 16:15:02 2008

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 16:15:02 EEST