[gfortran] PR 15234

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Fri May 14 18:54:00 GMT 2004


This is a patch for the issue that unit_t is already used by system 
headers on Tru64. I simply replaced every occurence of unit_t by 
gfc_unit, and verified that the library still builds.

Rainer, could you see how much farther you get with this patch?

Another thing that I jsut spotted: Why do we check that we're using the 
GNU Fortran 77 compiler when building libgfortran? Or is the configure 
message inaccurate?

- Tobi

2004-05-14  Tobias Schlüter  <tobias.schlueter@physik.uni-muenchen.de>

	PR fortran/15234
	* io/io.h (unit_t): Rename to ...
	(gfc_unit) ... this.
	(unit_root, current_unit, find_file, find_unit, get_unit): Now
	of type gfc_unit.
	(delete_file, insert_unit, close_unit): Argument now of type
	gfc_unit.
	* backspace.c (st_backspace), close.c (st_close), endfile.c
	(st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
	(test_endfile, edit_modes, new_unit, already_open, st_open),
	rewind.c (st_rewind), transfer.c (current_unit), unit.c
	(internal_unit, unit_cache, rotate_left, rotate_right, insert,
	insert_unit, delete_root, delete_treap, delete_unit, find_unit,
	get_unit, init_units, close_unit), unix.c (find_file0,
	find_file, delete_file): Replace all occurences of unit_t by
	gfc_unit.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libdiff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20040514/65f64e66/attachment.ksh>


More information about the Fortran mailing list