libI77 compile error

loewis@informatik.hu-berlin.de loewis@informatik.hu-berlin.de
Sat Jan 29 10:38:00 GMT 2000


When compiling gcc-2_95-branch on i586-pc-linux-gnu, compilation breaks
with the error message

/home/martin/egcs/obj/gcc/xgcc -B/home/martin/egcs/obj/gcc/ -B/usr/local/newabi/i586-pc-linux-gnu/bin/ -c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../../libf2c/libI77 -I.. -I../../../../libf2c/libI77/..  -DSTDC_HEADERS=1 -D_POSIX_SOURCE=1 -DHAVE_TEMPNAM=1 -DNON_ANSI_RW_MODES=1 -DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1  -g -O2 ../../../../libf2c/libI77/endfile.c
../../../../libf2c/libI77/endfile.c: In function `t_runc':
../../../../libf2c/libI77/endfile.c:106: structure has no member named `urwt'  

I believe this was caused by the change

Mon Jan 24 20:28:35 CET 2000  David M. Gay <dmg@bell-labs.com>

	* libI77/endfile.c (t_runc): set state to writing
	(b->uwrt = 1) when an endfile statement requires copying the file.

Changing the access to read

	b->uwrt = 1;

fixes the problem.

Regards,
Martin


More information about the Gcc-bugs mailing list