Skip to content

Instantly share code, notes, and snippets.

@DenisRitchie
Last active February 19, 2024 03:14
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DenisRitchie/6f11021196b572bfd12a35f8c2b2f919 to your computer and use it in GitHub Desktop.
Save DenisRitchie/6f11021196b572bfd12a35f8c2b2f919 to your computer and use it in GitHub Desktop.
Pelles C IDE - Visual Studio Code Configurations
//
// https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference
//
{
"editor.tabSize": 2,
"editor.tabCompletion": "on",
"editor.insertSpaces": true,
"editor.trimAutoWhitespace": true,
"editor.letterSpacing": 0,
"editor.autoIndent": "advanced",
"workbench.editor.tabSizing": "shrink",
"C_Cpp.default.compilerPath": "C:\\Program Files\\PellesC\\Bin\\pocc.exe",
"C_Cpp.default.compilerArgs": [
"-std:C17",
"-Tx64-coff",
"-arch:SSE2",
"-MT",
"-Ot",
"-Ox",
"-Ob1",
"-fp:precise",
"-W2",
"-Ze",
"-Zx"
],
"C_Cpp.default.cStandard": "c18",
"C_Cpp.default.cppStandard": "c++20",
"C_Cpp.default.intelliSenseMode": "msvc-x64",
"C_Cpp.default.systemIncludePath": [
"C:\\Program Files\\PellesC\\Include\\",
"C:\\Program Files\\PellesC\\Include\\Win\\",
],
"C_Cpp.default.defines": [
"__midl",
"NULL=0",
"restrict=__restrict",
"noretchk=nodiscard",
"nodiscard=",
"vaformat(family, n, m)=",
"_Static_assert=static_assert",
"__stdarg_start=",
"__stdarg_arg=",
"__stdarg_end=",
"__stdarg_copy=",
"UNICODE",
"_UNICODE",
"__POCC__=900",
"__POCC_STDC_VERSION__=201112L",
"__STDC_WANT_LIB_EXT1__",
"__STDC_WANT_LIB_EXT2__",
"__SIZE_TYPE__=unsigned __int64",
"__SSIZE_TYPE__=__int64",
"__INTPTR_TYPE__=__int64",
"__UINTPTR_TYPE__=unsigned __int64",
"__PTRDIFF_TYPE__=__int64",
"__OFF_TYPE__=long",
"__WCHAR_TYPE__=unsigned short",
"__WINT_TYPE__=unsigned short",
"__SIG_ATOMIC_TYPE__=int",
"__SIZE_MAX__=UINTPTR_MAX",
"__SSIZE_MAX__=INTPTR_MAX",
"__INTPTR_MAX__=INT64_MAX",
"__UINTPTR_MAX__=UINT64_MAX",
"__PTRDIFF_MAX__=INTPTR_MAX",
"__WCHAR_MIN__=0x0000",
"__WCHAR_MAX__=0xffff",
"__WINT_MIN__=0x0000",
"__WINT_MAX__=0xffff",
"__SIG_ATOMIC_MIN__=INT32_MIN",
"__SIG_ATOMIC_MAX__=INT32_MAX",
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment