[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#364104: FTBFS with GCC 4.2: deprecated conversion



Package: ooqstart
Version: 0.8.3-10

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below is in your package
and not because I'm using a snapshot of the compiler so please take a
look at it.  You can reproduce this with the gcc-snapshot package.


> Automatic build of ooqstart_0.8.3-10 on bilbao by sbuild/sparc 85
...
> g++ -g -DVERSION='"0.8.3"' -Wall -Werror -I. `pkg-config --cflags libpanelapplet-2.0` -O2 -o gnome.o -c gnome/gnome.cxx
> cc1plus: warnings being treated as errors
> ./ooqstart-on.xpm:639: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-on.xpm:639: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-on.xpm:639: warning: deprecated conversion from string constant to 'char*''
...
> ./ooqstart-wait.xpm:511: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-wait.xpm:511: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-wait.xpm:511: warning: deprecated conversion from string constant to 'char*''
...
> ./ooqstart-wait.xpm:511: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-wait.xpm:511: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-wait.xpm:511: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-off.xpm:645: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-off.xpm:645: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-off.xpm:645: warning: deprecated conversion from string constant to 'char*''
...
> ./ooqstart-off.xpm:645: warning: deprecated conversion from string constant to 'char*''
> ./ooqstart-off.xpm:645: warning: deprecated conversion from string constant to 'char*''
> gnome/gnome.cxx: In function 'void disableRestart(gchar*)':
> gnome/gnome.cxx:236: warning: deprecated conversion from string constant to 'gchar*''
> gnome/gnome.cxx:236: warning: deprecated conversion from string constant to 'gchar*''
> gnome/gnome.cxx:237: warning: deprecated conversion from string constant to 'gchar*''
> gnome/gnome.cxx: In function 'void disableSessionManagement(Model*)':
> gnome/gnome.cxx:302: warning: deprecated conversion from string constant to 'gchar*''
> gnome/gnome.cxx:302: warning: deprecated conversion from string constant to 'gchar*''
> gnome/gnome.cxx: In function 'void destroyApplet(GtkWidget*, void*)':
> gnome/gnome.cxx:488: warning: deprecated conversion from string constant to 'gchar*''
> gnome/gnome.cxx:488: warning: deprecated conversion from string constant to 'gchar*''
> make[1]: *** [gnome.o] Error 1
> make[1]: Leaving directory `/build/tbm/ooqstart-0.8.3'
> make: *** [build-stamp] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: