This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.



------- Comment #5 from martinol at nrlssc dot navy dot mil  2006-06-02 21:05 -------
An IRIX64 system here has wchar.h with the __SGI_LIBC_USING_FROM_STD(wcstok),
but it failed in the fortran part! :-(

The SGI I am using has a much different looking wchar.h with wsctok here:

#if !defined(_SGI_COMPILING_LIBC)
#if (_MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64)
#if (_NO_XOPEN4)
#define wcstok _xpg5_wcstok
extern wchar_t  *wcstok(wchar_t *, const wchar_t *, wchar_t **);
#else
#define wcstok _xpg4_wcstok
extern wchar_t  *wcstok(wchar_t *, const wchar_t *);
#endif
#else
extern wchar_t  *wcstok(wchar_t *, const wchar_t *);
#endif
#else /* SGI LIBC */
#if (_MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64)
extern wchar_t  *wcstok(wchar_t *, const wchar_t *, wchar_t **);
extern wchar_t  *_xpg4_wcstok(wchar_t *, const wchar_t *);
extern wchar_t  *_xpg5_wcstok(wchar_t *, const wchar_t *, wchar_t **);
#else
extern wchar_t  *wcstok(wchar_t *, const wchar_t *);
#endif
#endif


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878


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