News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Patch to get rid of "app.xpm" warning

Started by Jenna, November 26, 2007, 09:58:15 AM

Previous topic - Next topic

Jenna

Here's a patch to get rid of the "deprecated conversion ..." warning when compiling C::B on Linux (and others):


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

killerbot

there are a few files that need this little change. Will be surely done this week.