From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13606 invoked by alias); 14 Jan 2004 19:22:59 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13597 invoked by uid 48); 14 Jan 2004 19:22:58 -0000 Date: Wed, 14 Jan 2004 19:22:00 -0000 Message-ID: <20040114192258.13596.qmail@sources.redhat.com> From: "richard_wheeler at cinfin dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040114155412.13682.richard_wheeler@cinfin.com> References: <20040114155412.13682.richard_wheeler@cinfin.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13682] Compile error with cstdio: fgetpos not declared on AIX X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg01599.txt.bz2 List-Id: ------- Additional Comments From richard_wheeler at cinfin dot com 2004-01-14 19:22 ------- (In reply to comment #2) > Not a bug, looks like you GCC is not really compiled for you OS version. > In the preprocessed file, I see: > # 295 "/cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm- aix5.2.0.0/3.3.2/include/stdio.h" 2 > 3 4 > ....... > extern int fgetpos64(FILE *, fpos_t *); > ....... > # 492 "/cmDevTest/Dev/local/bin/../lib/gcc-lib/powerpc-ibm- aix5.2.0.0/3.3.2/include/stdio.h" 3 > 4 > extern int fgetpos64(FILE *, fpos64_t *); > ...... > using :: fgetpos Why did the compiler did not pick up the actual entries in stdio.h? I attached the file referenced. It shows the following at that position in the file: extern int fgetpos(FILE *__restrict__, fpos_t *__restrict__); extern int fseek(FILE *, long int, int); extern int fsetpos(FILE *, const fpos_t *); extern long ftell(FILE *); -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13682