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

From: Julien Claassen <julien@email-addr-hidden-lab.de>
Date: Thu Jun 19 2008 - 16:05:12 EEST

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
_______________________________________________
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