This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
- From: "martinol at nrlssc dot navy dot mil" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2006 21:05:43 -0000
- Subject: [Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
- References: <bug-27878-10876@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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