Paulo J. Matos wrote:
> This is due to gcc version 4.1:
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/local/share\"
> -DG_LOG_DOMAIN=\"GtkSourceView\" -I.. -I. -DG_DISABLE_DEPRECATED
> -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wnested-externs
> -Wpointer-arith -Wno-sign-compare -Werror -Wno-pointer-sign
>   

It is due to the fact that it's using -Werror and probably gcc 4.1 
caused some new warning.

run autogen.sh with the --enable-compile-warnings=maximum argument.


> -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/include/libxml2 -I/usr/include/libgnomeprint-2.2
> -I/usr/include/libart-2.0 -g -O2 -MT gtksourceview.lo -MD -MP -MF
> .deps/gtksourceview.Tpo -c gtksourceview.c  -fPIC -DPIC -o
> .libs/gtksourceview.o
> cc1: warnings being treated as errors
> gtksourceview.c: In function 'set_source_buffer':
> gtksourceview.c:611: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> gtksourceview.c:618: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> make[4]: *** [gtksourceview.lo] Error 1
>
>   

_______________________________________________
gnome-devtools mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devtools

Reply via email to