Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Patch to get rid of "app.xpm" warning
(1/1)
Jenna:
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",
--- End code ---
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.
Navigation
[0] Message Index
Go to full version