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