Modified wide character tests to warn not fail when no wide character support is available in the platform.

Modified Jamfiles to use centralised options.
Added wide character concept check.


[SVN r19318]
This commit is contained in:
John Maddock
2003-07-26 11:22:17 +00:00
parent 9d565f63ed
commit 6750cf4892
14 changed files with 304 additions and 36 deletions

View File

@ -43,6 +43,8 @@ using std::endl;
#include "regress.h"
#ifndef BOOST_REGEX_NO_TEST
#if defined(BOOST_MSVC) && defined(_DEBUG)
#include <CRTDBG.H>
#endif
@ -284,5 +286,18 @@ void jm_debug_alloc::deallocate(void* pv, size_type n)
delete[] p;
}
#else
#include <iostream>
int cpp_main(int argc, char * argv[])
{
std::cout <<
"\n<note>\n"
"This platform does not provide the needed wide character support for this test.\n"
"</note>\n";
return 0;
}
#endif