From 4f5fe70e75dc1e246149f8a943ccd3071a6fc2bc Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Thu, 8 Feb 2018 19:19:20 -0500 Subject: [PATCH 1/3] Add _UNICODE to default defines on Windows Fixes #1538 --- Extension/src/LanguageServer/configurations.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Extension/src/LanguageServer/configurations.ts b/Extension/src/LanguageServer/configurations.ts index eba252b0e4..fe4e51c52e 100644 --- a/Extension/src/LanguageServer/configurations.ts +++ b/Extension/src/LanguageServer/configurations.ts @@ -63,7 +63,8 @@ let defaultSettings: string = `{ ], "defines": [ "_DEBUG", - "UNICODE" + "UNICODE", + "_UNICODE" ], "intelliSenseMode": "msvc-x64", "browse": { From 59b7d9797239f41a8341d830787f9319324595f9 Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Thu, 8 Feb 2018 19:34:31 -0500 Subject: [PATCH 2/3] Update extension changelog --- Extension/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 67eb53eb70..2eb6e2a964 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -9,6 +9,7 @@ * Fix error popup appearing with non-workspace files when using `compile_commands.json`. [#1475](https://github.com/Microsoft/vscode-cpptools/issues/1475) * Add more macros to `cpp.hint` (fixing missing symbols). * Added support for config variables to `c_cpp_properties.json` [#314](https://github.com/Microsoft/vscode-cpptools/issues/314) +* Define \_UNICODE by default on Windows platforms. [#1538](https://github.com/Microsoft/vscode-cpptools/issues/1538) ## Version 0.14.6: January 17, 2018 * Fix tag parser failing (and continuing to fail after edits) when it shouldn't. [#1367](https://github.com/Microsoft/vscode-cpptools/issues/1367) From 24a143654501642074c19eefbea78709ecc183f0 Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Thu, 8 Feb 2018 20:05:54 -0500 Subject: [PATCH 3/3] Use code brackets instead of raw text --- Extension/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extension/CHANGELOG.md b/Extension/CHANGELOG.md index 2eb6e2a964..b73054f791 100644 --- a/Extension/CHANGELOG.md +++ b/Extension/CHANGELOG.md @@ -9,7 +9,7 @@ * Fix error popup appearing with non-workspace files when using `compile_commands.json`. [#1475](https://github.com/Microsoft/vscode-cpptools/issues/1475) * Add more macros to `cpp.hint` (fixing missing symbols). * Added support for config variables to `c_cpp_properties.json` [#314](https://github.com/Microsoft/vscode-cpptools/issues/314) -* Define \_UNICODE by default on Windows platforms. [#1538](https://github.com/Microsoft/vscode-cpptools/issues/1538) +* Define `_UNICODE` by default on Windows platforms. [#1538](https://github.com/Microsoft/vscode-cpptools/issues/1538) ## Version 0.14.6: January 17, 2018 * Fix tag parser failing (and continuing to fail after edits) when it shouldn't. [#1367](https://github.com/Microsoft/vscode-cpptools/issues/1367)