Skip to content

Commit 625e547

Browse files
authored
define __CHAR_BIT__ for Mac (#1564)
* define `__CHAR_BIT__` for Mac * update changelog
1 parent e825292 commit 625e547

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Extension/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Fix error popup appearing with non-workspace files when using `compile_commands.json`. [#1475](https://github.com/Microsoft/vscode-cpptools/issues/1475)
1111
* Fix snippet completions being blocked after `#`. [#1531](https://github.com/Microsoft/vscode-cpptools/issues/1531)
1212
* Add more macros to `cpp.hint` (fixing missing symbols).
13+
* Add `__CHAR_BIT__=8` to default defines on Mac. [#1510](https://github.com/Microsoft/vscode-cpptools/issues/1510)
1314
* Added support for config variables to `c_cpp_properties.json`. [#314](https://github.com/Microsoft/vscode-cpptools/issues/314)
1415
* Joshua Cannon (@thejcannon) [PR #1529](https://github.com/Microsoft/vscode-cpptools/pull/1529)
1516
* Define `_UNICODE` by default on Windows platforms. [#1538](https://github.com/Microsoft/vscode-cpptools/issues/1538)

Extension/bin/msvc.64.darwin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"defaults": [
33
"--clang",
44
"--pack_alignment",
5-
"8"
5+
"8",
6+
"-D__CHAR_BIT__=8"
67
],
78
"defaults_op" : "merge"
89
}

0 commit comments

Comments
 (0)