This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [v3] libstdc++/1886, preliminary wchar_t config work



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]