From 213383ef5c98ce406c3ba3966ac530583560c34f Mon Sep 17 00:00:00 2001 From: dilin-MS Date: Tue, 18 Aug 2020 14:22:33 +0800 Subject: [PATCH] bug fix: change from c++17 to gnu++17 in devkit c_cpp_properties.json to fix intellisense issue --- resources/templates/devkit/c_cpp_properties_linux.json | 2 +- resources/templates/devkit/c_cpp_properties_macos.json | 2 +- resources/templates/devkit/c_cpp_properties_win32.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/templates/devkit/c_cpp_properties_linux.json b/resources/templates/devkit/c_cpp_properties_linux.json index e20a068f2..bd7ca0a17 100644 --- a/resources/templates/devkit/c_cpp_properties_linux.json +++ b/resources/templates/devkit/c_cpp_properties_linux.json @@ -15,7 +15,7 @@ ], "intelliSenseMode": "clang-x64", "cStandard": "c11", - "cppStandard": "c++17", + "cppStandard": "gnu++17", "compilerPath": "{ROOTPATH}/.arduino15/packages/AZ3166/tools/arm-none-eabi-gcc/5_4-2016q3/bin/arm-none-eabi-g++" } ], diff --git a/resources/templates/devkit/c_cpp_properties_macos.json b/resources/templates/devkit/c_cpp_properties_macos.json index 108552d6f..a3a4d45af 100644 --- a/resources/templates/devkit/c_cpp_properties_macos.json +++ b/resources/templates/devkit/c_cpp_properties_macos.json @@ -15,7 +15,7 @@ ], "intelliSenseMode": "clang-x64", "cStandard": "c11", - "cppStandard": "c++17", + "cppStandard": "gnu++17", "compilerPath": "~/Library/Arduino15/packages/AZ3166/tools/arm-none-eabi-gcc/5_4-2016q3/bin/arm-none-eabi-g++" } ], diff --git a/resources/templates/devkit/c_cpp_properties_win32.json b/resources/templates/devkit/c_cpp_properties_win32.json index 001560feb..6f3b1350e 100644 --- a/resources/templates/devkit/c_cpp_properties_win32.json +++ b/resources/templates/devkit/c_cpp_properties_win32.json @@ -15,7 +15,7 @@ ], "intelliSenseMode": "clang-x64", "cStandard": "c11", - "cppStandard": "c++17", + "cppStandard": "gnu++17", "compilerPath": "{ROOTPATH}\\Arduino15\\packages\\AZ3166\\tools\\arm-none-eabi-gcc\\5_4-2016q3\\bin\\arm-none-eabi-g++" } ],