> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com]
> Sent: Wednesday, December 12, 2007 8:53 AM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: [PATCH] MSVC has non-standard prototype of the wcstok()
> > Since the configure script performs checking only names
> and doesn't
> > checking the correct prototype, the _RWSTD_NO_WCSTOK macro is not
> > defined in config.h. As a result the 21.cwchar.cpp test asserts on
> > "wcstok() not declared".
>
> But there is a mechanism to check for signatures too, isn't there?
> Could we use it to detect this or are you saying even this is
> not enough?
This mechanism checks the signatures in header files, but incorrect
wcstok() will be found in libc.
config.h:
-----------
#define _RWSTD_NO_WCSTOK
// #define _RWSTD_NO_WCSTOK_IN_LIBC
-----------
Farid.
|