YAMAMOTO Takashi
e99e185712
Don't typedef wchar_t for C++
wchar_t is a builtin type in C++.
clang complains like the following even with -fshort-wchar:
error: cannot combine with previous 'type-name' declaration specifier
my clang version if it matters:
spacetanuki% clang++ --version
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
spacetanuki% clang++ -dM -E - < /dev/null | grep WCHAR
#define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __SIZEOF_WCHAR_T__ 4
#define __WCHAR_MAX__ 2147483647
#define __WCHAR_TYPE__ int
#define __WCHAR_WIDTH__ 32
spacetanuki% clang++ -fshort-wchar -dM -E - < /dev/null | grep WCHAR
#define __CLANG_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __SIZEOF_WCHAR_T__ 2
#define __WCHAR_MAX__ 65535
#define __WCHAR_TYPE__ unsigned short
#define __WCHAR_UNSIGNED__ 1
#define __WCHAR_WIDTH__ 16
spacetanuki%
2020-11-01 18:19:13 -08:00
..
2020-05-14 10:49:44 -06:00
2015-02-16 14:29:43 -06:00
2020-09-18 19:51:55 -07:00
2020-07-31 15:09:35 -06:00
2020-02-19 11:48:49 -06:00
2020-05-05 08:27:58 -06:00
2015-02-16 14:29:43 -06:00
2020-09-18 20:05:10 -07:00
2020-05-08 07:20:49 -06:00
2018-08-19 08:24:30 -06:00
2020-07-01 21:52:18 -05:00
2018-03-13 09:52:27 -06:00
2018-11-09 09:05:48 -06:00
2019-03-26 09:20:23 -06:00
2020-02-23 22:27:46 +01:00
2015-02-16 14:29:43 -06:00
2020-08-17 23:38:18 -05:00
2018-10-29 06:50:47 -06:00
2020-10-20 01:45:06 -07:00
2019-01-09 14:26:51 -06:00
2020-07-13 20:25:03 +01:00
2020-10-28 09:11:05 -07:00
2020-07-22 12:01:40 -05:00
2020-09-19 03:20:09 -07:00
2020-11-01 18:19:13 -08:00
2018-06-23 09:01:42 -06:00
2020-01-18 15:23:42 -03:00
2019-01-27 06:56:16 -06:00
2015-02-16 14:29:43 -06:00
2018-09-02 13:51:52 -06:00