public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "richard_wheeler at cinfin dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/13682] Compile error with cstdio: fgetpos not declared on AIX
Date: Wed, 14 Jan 2004 19:22:00 -0000	[thread overview]
Message-ID: <20040114192258.13596.qmail@sources.redhat.com> (raw)
In-Reply-To: <20040114155412.13682.richard_wheeler@cinfin.com>


------- 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


  parent reply	other threads:[~2004-01-14 19:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-14 15:54 [Bug c++/13682] New: " richard_wheeler at cinfin dot com
2004-01-14 15:56 ` [Bug c++/13682] " richard_wheeler at cinfin dot com
2004-01-14 17:43 ` pinskia at gcc dot gnu dot org
2004-01-14 19:22 ` richard_wheeler at cinfin dot com [this message]
2004-01-14 19:26 ` richard_wheeler at cinfin dot com
2004-01-14 19:30 ` pinskia at gcc dot gnu dot org
2004-01-14 19:41 ` richard_wheeler at cinfin dot com
     [not found] <bug-13682-7634@http.gcc.gnu.org/bugzilla/>
2008-06-03 18:20 ` patrick133t at yahoo dot com
2009-08-20  7:31 ` oliver at FreeBSD dot org
2010-05-17 20:06 ` pedzsan at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040114192258.13596.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).