Author Topic: Patch to get rid of "app.xpm" warning  (Read 4763 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Patch to get rid of "app.xpm" warning
« 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Patch to get rid of "app.xpm" warning
« Reply #1 on: November 26, 2007, 11:39:48 am »
there are a few files that need this little change. Will be surely done this week.