Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Jenna on November 26, 2007, 09:58:15 am

Title: Patch to get rid of "app.xpm" warning
Post by: Jenna on November 26, 2007, 09:58:15 am
Here's a patch to get rid of the "deprecated conversion ..." warning when compiling C::B on Linux (and others):

Code
--- codeblocks-1.0svn.orig/src/src/resources/icons/app.xpm      2007-11-07 16:43:45.000000000 +0000
+++ codeblocks-1.0svn.work/src/src/resources/icons/app.xpm      2007-11-26 08:31:51.000000000 +0000
@@ -1,5 +1,5 @@
 /* XPM */
-static char *app[]={
+static const char *app[]={
 "32 32 11 1",
 "# c None",
 "f c #000083",

I don't want to post it at berlios, because it's not a bug and compiling works fine without it.
Title: Re: Patch to get rid of "app.xpm" warning
Post by: killerbot on November 26, 2007, 11:39:48 am
there are a few files that need this little change. Will be surely done this week.