Hi,
I tried to fix this by applying define_functions_fix_build.patch from
the Ubuntu package, but another failure then appeared:
xtext.c: In function 'shade_image':
xtext.c:3341:18: warning: variable 'bg_b' set but not used
[-Wunused-but-set-variable]
int bg_r, bg_g, bg_b;
^
xtext.c:3341:12: warning: variable 'bg_g' set but not used
[-Wunused-but-set-variable]
int bg_r, bg_g, bg_b;
^
xtext.c:3341:6: warning: variable 'bg_r' set but not used
[-Wunused-but-set-variable]
int bg_r, bg_g, bg_b;
^
xtext.c: In function 'gtk_xtext_save':
xtext.c:4260:9: warning: ignoring return value of 'write', declared with
attribute warn_unused_result [-Wunused-result]
write (fh, buf, newlen);
^
xtext.c:4261:9: warning: ignoring return value of 'write', declared with
attribute warn_unused_result [-Wunused-result]
write (fh, "\n", 1);
^
cc1: some warnings being treated as errors
and I'm not sure how to proceed with this. Suggestions welcome!
Dominic.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]