This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] libstdc++/1886, preliminary wchar_t config work
- To: Jeffrey Oldham <oldham at codesourcery dot com>
- Subject: Re: [v3] libstdc++/1886, preliminary wchar_t config work
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Wed, 28 Feb 2001 11:31:23 -0800 (PST)
- cc: gcc-patches at gcc dot gnu dot org
> "fileno" on gcc/libstdc++-v3/config/basic_file_stdio.h:127 is
> undefined. May we have it fixed?
Hmm. Odd. You're just seeing this error today?
from /usr/include/stdio.h on irix 6.5:
#if _POSIX90 && _NO_ANSIMODE
/* POSIX additions */
extern FILE *fdopen(int, const char *);
extern int fileno(FILE *);
#endif
so it looks like you'll need to define _POSIX90 in
config/os/irix/bits/os_defines.h, so try:
#undef _POSIX_SOURCE
#define _POSIX90
#define __off_t off_t
-benjamin