This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/40578] FOPEN double defined used in ada/adaint.h:58
- From: "davek at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2009 15:09:26 -0000
- Subject: [Bug bootstrap/40578] FOPEN double defined used in ada/adaint.h:58
- References: <bug-40578-3388@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from davek at gcc dot gnu dot org 2009-07-26 15:09 -------
Subject: Bug 40578
Author: davek
Date: Sun Jul 26 15:09:10 2009
New Revision: 150098
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150098
Log:
PR bootstrap/40578
* adaint.h (FOPEN, STAT, FSTAT, LSTAT, STRUCT_STAT): Rename from these
(GNAT_FOPEN, GNAT_STAT, GNAT_FSTAT, GNAT_LSTAT, GNAT_STRUCT_STAT): ...
to these.
(__gnat_stat): Adjust reference to STAT in prototype.
* adaint.c (__gnat_try_lock, __gnat_fopen, __gnat_file_length,
__gnat_named_file_length, __gnat_file_time_name, __gnat_file_time_fd,
__gnat_get_libraries_from_registry, __gnat_stat, __gnat_file_exists,
__gnat_is_regular_file, __gnat_is_directory, __gnat_is_readable_file,
__gnat_is_writable_file, __gnat_is_executable_file,
__gnat_set_writable, __gnat_set_executable, __gnat_set_non_writable,
__gnat_set_readable, __gnat_set_non_readable, __gnat_is_symbolic_link,
__gnat_copy_attribs): Adjust all references to the above.
* cstreams.c (__gnat_is_regular_file_fd): Likewise.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/adaint.c
trunk/gcc/ada/adaint.h
trunk/gcc/ada/cstreams.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40578