When I want to compile c# studio I have an error message about gtksourceview. Here is the end of the output compile :
"
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/local/share\" -DG_LOG_DOMAIN=\"GtkSourceView\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -I.. -I. -Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-promo -Wno-sign-compare -Werror -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 gtksourcebuffer.lo -MD -MP -MF .deps/gtksourcebuffer.Tpo -c gtksourcebuffer.c -fPIC -DPIC -o .libs/gtksourcebuffer.o
cc1: warning: command line option "-Wsign-promo" is valid for C++/ObjC++ but not for C
cc1: warnings being treated as errors
gtksourcebuffer.c: In function 'gtk_source_buffer_constructor':
gtksourcebuffer.c:444: warning: implicit declaration of function 'g_value_set_object_take_ownership'
gtksourcebuffer.c:444: warning: nested extern declaration of 'g_value_set_object_take_ownership'
make[8]: *** [gtksourcebuffer.lo] Erreur 1
"
Is there any solution?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I want to compile c# studio I have an error message about gtksourceview. Here is the end of the output compile :
"
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/local/share\" -DG_LOG_DOMAIN=\"GtkSourceView\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -I.. -I. -Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-promo -Wno-sign-compare -Werror -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 gtksourcebuffer.lo -MD -MP -MF .deps/gtksourcebuffer.Tpo -c gtksourcebuffer.c -fPIC -DPIC -o .libs/gtksourcebuffer.o
cc1: warning: command line option "-Wsign-promo" is valid for C++/ObjC++ but not for C
cc1: warnings being treated as errors
gtksourcebuffer.c: In function 'gtk_source_buffer_constructor':
gtksourcebuffer.c:444: warning: implicit declaration of function 'g_value_set_object_take_ownership'
gtksourcebuffer.c:444: warning: nested extern declaration of 'g_value_set_object_take_ownership'
make[8]: *** [gtksourcebuffer.lo] Erreur 1
"
Is there any solution?