From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30305 invoked by alias); 26 Apr 2003 21:16:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30292 invoked by uid 71); 26 Apr 2003 21:16:00 -0000 Date: Sat, 26 Apr 2003 21:16:00 -0000 Message-ID: <20030426211600.30291.qmail@sources.redhat.com> To: dje@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: David Edelsohn Subject: Re: target/10390: [AIX 4.3.3] conflicting declarations in stdio.h Reply-To: David Edelsohn X-SW-Source: 2003-04/txt/msg01204.txt.bz2 List-Id: The following reply was made to PR target/10390; it has been noted by GNATS. From: David Edelsohn To: Jens Rehsack Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org Subject: Re: target/10390: [AIX 4.3.3] conflicting declarations in stdio.h Date: Sat, 26 Apr 2003 17:15:01 -0400 >>>>> Jens Rehsack writes: Jens> I don't share your point of view, because defining both macros Jens> (_LARGE_FILES and _LARGE_FILE_API) causes the failure. Or is Jens> documentation existing (which I didn't found) where it's forbidden Jens> defining both? Yes, this is a bug, but this is not a *GCC* bug. GCC *does not* provide its own stdio.h. GCC "fixes" many system headers, including stdio.h. Possibly GCC should modify the logic of these macros, but the original stdio.h in AIX is the one with the conflicting declarations. One needs to look at the manual for use of the macros. Possibly the bug is the GNU sed configuration for choosing to define both macros. Yes, there is a bug, but GCC did not create the conflicting declarations, so GCC is not the source of the bug. Just because the error message lists the GCC installation directory in the path does not mean that GCC is responsible. David