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
> [email protected]
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to