Compiling latest CVS of gtksourceview fails

"Paulo J. Matos" <[email protected]>
Newsgroups gmane.comp.gnome.devtools
Message-ID <[email protected]>
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
-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

-- 
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.