Skip to content

Commit 436dbd0

Browse files
committed
BugFix: IntelliSenseのC++設定とビルドのC++設定の不整合をC++17に統一
1 parent 684a26f commit 436dbd0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.vscode/c_cpp_properties.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
],
1212
"defines": [
1313
"_DEBUG",
14-
"EMSCRIPTEN"
14+
"EMSCRIPTEN",
15+
"__EMSCRIPTEN__"
1516
],
1617
"cStandard": "c11",
1718
"cppStandard": "c++17",

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"-o", "index.html",
1616

1717
// Compiler Flags
18-
"-O1", "-std=c++11", "-g4",
18+
"-O1", "-std=c++17", "-g4",
1919

2020
// Include & Library Directory
2121
"-IDxLibForHTML5", "-LDxLibForHTML5",
@@ -53,7 +53,7 @@
5353
"-o", "Build/index.html",
5454

5555
// Compiler Flags
56-
"-O3", "-std=c++11",
56+
"-O3", "-std=c++17",
5757

5858
// Include & Library Directory
5959
"-IDxLibForHTML5", "-LDxLibForHTML5",

0 commit comments

Comments
 (0)