I am trying to build Wine 1.1.40 in Fedora 12 with wine.spec from src.rpm but I
get this error:
configure: Finished. Do 'make' to compile Wine.
+ /usr/bin/make depend
config.status: creating tools/Makefile
make[1]: Entering directory `/home/user/rpmbuild/BUILD/wine-1.1.40/tools'
gcc -c -I. -I. -I../include -I../include -I/usr/include/freetype2 -D__WINESRC__
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Werror -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables -o makedep.o makedep.c
cc1: warnings being treated as errors
makedep.c: In function 'get_line':
makedep.c:207: error: ignoring return value of 'fgets', declared with
attribute warn_unused_result
makedep.c:219: error: ignoring return value of 'fgets', declared with
attribute warn_unused_result
make[1]: *** [makedep.o] Error 1
make[1]: Leaving directory `/home/user/rpmbuild/BUILD/wine-1.1.40/tools'
make: *** [tools/Makefile] Error 2