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-04-11 21:19:47 +01:00
2020-10-26 22:12:02 -07:00
2020-06-15 08:07:19 -06:00
2020-01-31 21:23:15 +01:00
2020-10-25 17:04:25 -07:00
2020-10-31 13:26:30 -07:00
2020-11-01 18:19:13 -08:00
2020-05-23 18:00:40 +01:00
2020-05-07 10:31:05 -06:00
2019-04-04 11:04:08 -06:00
2020-07-19 01:21:36 +01:00
2020-02-28 18:18:50 -06:00
2020-08-21 16:56:00 +08:00
2020-05-05 08:27:58 -06:00
2020-07-07 13:41:10 +01:00
2020-02-23 22:27:46 +01:00
2020-10-10 12:24:28 -06:00
2020-04-30 08:46:21 -06:00
2020-04-30 08:46:21 -06:00
2020-05-31 21:38:32 -07:00
2020-05-07 23:11:34 +01:00
2020-05-07 10:31:05 -06:00
2020-02-23 22:27:46 +01:00
2020-08-11 16:44:42 +09:00
2019-08-03 08:23:04 -06:00
2019-06-26 14:37:19 -06:00
2020-02-23 22:27:46 +01:00
2020-09-11 17:58:17 +08:00
2020-06-15 07:20:19 -06:00
2020-01-31 19:07:39 +01:00
2020-08-24 03:36:44 -07:00
2020-05-07 10:31:05 -06:00
2020-04-01 16:09:28 -06:00
2020-02-23 22:27:46 +01:00
2020-10-20 01:45:06 -07:00
2020-08-20 10:46:14 +01:00
2019-08-04 07:18:58 -06:00
2020-09-21 07:37:04 -07:00
2020-07-27 20:39:59 -03:00
2020-10-29 01:12:43 -07:00
2020-05-07 10:31:05 -06:00
2020-05-27 05:40:37 -06:00
2020-06-10 08:24:47 +02:00
2020-10-26 22:12:02 -07:00
2020-09-19 04:16:14 -07:00
2020-08-14 03:44:26 -07:00
2020-09-21 07:37:04 -07:00
2020-05-11 11:32:55 -04:00
2020-10-21 10:11:21 -07:00
2020-06-02 09:45:05 +02:00
2020-09-19 01:04:17 -07:00
2020-09-19 01:08:39 -07:00
2020-07-21 21:48:18 -07:00
2020-06-08 11:42:56 +01:00
2020-05-07 10:31:05 -06:00