warnings being treated as errors

Aaron aaronf0 at gmail.com
Sun Apr 30 19:16:08 CEST 2006


was compiling mousepad, and noticed the warnings are still being
treated as errors. i know thunar was doing this at one point, but it
was opted to be turned off, so should mousepad still have it on?

I can pastebin the rest, or file a bug if you need it.



if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"mousepad\"
-DLOCALEDIR=\""/usr/share/locale"\" -DICONDIR=\""/usr/share/pixmaps"\"
   -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-I/usr/X11R6/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0
-I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0  
-fno-strict-aliasing -Werror -Wall -march=pentium2 -O2
-fomit-frame-pointer -MT mousepad-callback.o -MD -MP -MF
".deps/mousepad-callback.Tpo" -c -o mousepad-callback.o `test -f
'callback.c' || echo './'`callback.c; \
	then mv -f ".deps/mousepad-callback.Tpo"
".deps/mousepad-callback.Po"; else rm -f
".deps/mousepad-callback.Tpo"; exit 1; fi
cc1: warnings being treated as errors
callback.c: In function 'cb_file_print':
callback.c:175: warning: pointer targets in passing argument 5 of
'g_convert' differ in signedness
callback.c:175: warning: pointer targets in passing argument 6 of
'g_convert' differ in signedness
make[2]: *** [mousepad-callback.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mousepad-9999/work/mousepad-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mousepad-9999/work/mousepad-9999'
make: *** [all] Error 2

--
Aaron Fineman


More information about the Xfce4-dev mailing list