[LAD] Bit OT: cleaning code for gcc4

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


Hi!
   The errors on lines 318 and 319 disappeared. So the Char** are correctly 
declared, now as const char**. BUT now I get an error on the next line, 
because the
newCDKSelection function from the CDK doesn't accept const char**, but char** 
and this is not deprecated, but an "invalid conversion".
   How did the GCC people think I could avoid such things.
   Note: The newCDKSelection also takes a char* parameter, which of course is 
converted in a deprecated manner if I write: newCDKSelection([parameters],"my 
title",[more parameters]); So I tried this:
char* title;
strcpy("my title",title);
   This still won't work correctly. I guess I can live with those warnings, but 
the two relevant questions are:
1. How long?
2. Do I like to live with it?
   ah does this have to be so complicated? :-(
   Kindest regards and still all suggestions are wellcome!
          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