forked from boostorg/config
Updated configuration for Embarcadero C++ clang-based compilers. Created a better test for CWCHAR compatibility which involves a minimum of multi-byte character functionality also.
This commit is contained in:
1 parent
be471047f2
commit
efaceea8c3
3 files changed
+32
-25
No files matched your search
@@ -18,6 +18,9 @@ int test()
|
||||
{
|
||||
wchar_t c1[2] = { 0 };
|
||||
wchar_t c2[2] = { 0 };
|
||||
char c3[2] = { 0 };
|
||||
mbstate_t mb = mbstate_t();
|
||||
if(!mbsinit(&mb) || mbrlen(c3,1,&mb)) return -1;
|
||||
if(wcscmp(c1,c2) || wcslen(c1)) return -1;
|
||||
//wcscpy(c1,c2);
|
||||
wcsxfrm(c1,c2,0);
|
||||
|
||||
Reference in new issue
Block a user