[LAD] Bit OT: cleaning code for gcc4

Julien Claassen julien at c-lab.de
Thu Jun 19 12:25:10 UTC 2008


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



More information about the Linux-audio-dev mailing list