From 77237f70fb26d8ac14055348ba5f9cd1993334d6 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 5 Mar 2023 00:22:25 +0200 Subject: [PATCH] cpptools intellisense didn't worked as expected --- .vscode/c_cpp_properties.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index cfd3dd78..ff19ce1d 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -3,6 +3,7 @@ { "name": "Fennix x64 (Linux, GCC, debug)", "includePath": [ + "${workspaceFolder}/include", "${workspaceFolder}/include/**" ], "defines": [ @@ -49,7 +50,12 @@ "-fverbose-asm", "-fstack-usage", "-fstack-check", - "-fsanitize=undefined" + "-fsanitize=undefined", + + // VSCode flags + "-ffreestanding", + "-nostdinc", + "-nostdinc++" ] }, { @@ -104,7 +110,12 @@ "-fverbose-asm", "-fstack-usage", "-fstack-check", - "-fsanitize=undefined" + "-fsanitize=undefined", + + // VSCode flags + "-ffreestanding", + "-nostdinc", + "-nostdinc++" ] } ],