microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.45k stars 1.53k forks source link

Unable to resolve configuration with compilerPath #11430

Closed Xotchkass closed 1 year ago

Xotchkass commented 1 year ago

Environment

Bug Summary and Steps to Reproduce

Bug Summary: I am using MSYS2 version of gcc compiler, It worked fine previously but lately I started getting a warning Unable to resolve configuration with compilerPath "C:\tools\msys64\mingw64\bin\gcc.exe". Using "cl.exe" instead.. As you can see gcc itself is there and works perfectly. изображение

Steps to reproduce:

  1. Set compilerPath to MSYS2 gcc compiler.
  2. See warning in the output tab.

Configuration and Logs

c_cpp_properties.json ```json { "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}/**" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "compilerPath": " C:/tools/msys64/mingw64/bin/gcc.exe", "compilerArgs": [ "-Wall", "-Wextra" ], "intelliSenseMode": "windows-gcc-x64", "configurationProvider": "${default}", "cStandard": "gnu17", "mergeConfigurations": true } ], "version": 4 } ```
C/C++: Log Diagnostics ``` cpptools version (native): 1.17.5.0 Translation Unit Mappings: [ S:\prog\C\random\test.c ]: S:\prog\C\random\test.c Translation Unit Configurations: [ S:\prog\C\random\test.c ]: Process ID: 6568 Memory Usage: 54 MB Compiler Path: C:\tools\msys64\mingw64\bin\gcc.exe Includes: S:\prog\C\Includes C:\tools\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\13.2.0\include C:\tools\msys64\mingw64\include C:\tools\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\13.2.0\include-fixed Defines: _DEBUG UNICODE _UNICODE Standard Version: c17 IntelliSense Mode: windows-gcc-x64 Other Flags: --gcc --gnu_version=130200 Total Memory Usage: 54 MB ------- Workspace parsing diagnostics ------- Number of files discovered (not excluded): 26073 ```
Language server logs ``` loggingLevel: Information cpptools version (TypeScript): 1.17.5 cpptools version (native): 1.17.5.0 Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Querying compiler for default C++ language standard using command line: C:\tools\msys64\mingw64\bin\gcc.exe -x c++ -E -dM nul Detected language standard version: gnu++17 Querying compiler's default target using command line: "C:\tools\msys64\mingw64\bin\gcc.exe" -dumpmachine Compiler returned default target value: x86_64-w64-mingw32 Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RAYLIB_TEST/ will be indexed Querying compiler for default C++ language standard using command line: C:/tools/msys64/mingw64/bin/gcc.exe -x c++ -E -dM nul Detected language standard version: gnu++17 Querying compiler's default target using command line: "C:/tools/msys64/mingw64/bin/gcc.exe" -dumpmachine Compiler returned default target value: x86_64-w64-mingw32 Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/MAKEFILE_TEMPLATE/ will be indexed Querying compiler for default C++ language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c++ -E -dM nul Querying compiler for default C++ language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c++ -E -dM /dev/null Querying compiler for default C language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c -E -dM nul Querying compiler for default C language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c -E -dM /dev/null Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RANDOM/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RAYLIB_STATIC/ will be indexed Failed to query compiler. Falling back to 32-bit intelliSenseMode. Failed to query compiler. Falling back to no bitness. gcc.exe: error: unrecognized command-line option '-Werror -pedantic -Wfatal-errors -Wduplicated-cond -Wshift-negative-value' Failed to query compiler. Falling back to 32-bit intelliSenseMode. Failed to query compiler. Falling back to no bitness. gcc.exe: error: unrecognized command-line option '-Werror -pedantic -Wfatal-errors -Wduplicated-cond -Wshift-negative-value' Folder: S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/ATLMFC/INCLUDE/* will be indexed Folder: S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/INCLUDE/* will be indexed Folder: S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/CPPWINRT/ will be indexed Folder: S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/SHARED/ will be indexed Folder: S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UCRT/ will be indexed Folder: S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UM/ will be indexed Folder: S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/WINRT/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/BRAINFUCK/ will be indexed Querying compiler for default C++ language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c++ -E -dM nul Querying compiler for default C++ language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c++ -E -dM /dev/null Querying compiler for default C language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c -E -dM nul Querying compiler for default C language standard using command line: " C:/tools/msys64/mingw64/bin/gcc.exe" -x c -E -dM /dev/null Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Enhanced Colorization is enabled. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Autocomplete is enabled. Error squiggles are enabled if all header dependencies are resolved. Hover is enabled. The extension will use the Tag Parser for IntelliSense when #includes don't resolve. IntelliSense Engine = default. Enhanced Colorization is enabled. Code browsing service initialized Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RAYLIB_TEST/ will be indexed Discovering files... Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/MAKEFILE_TEMPLATE/ will be indexed Discovering files: 0 file(s) processed Done discovering files. Discovering files... Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RANDOM/ will be indexed Discovering files: 0 file(s) processed Done discovering files. Discovering files... Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RAYLIB_STATIC/ will be indexed Discovering files: 0 file(s) processed Done discovering files. Discovering files... Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RAYLIB_SORT/ will be indexed Discovering files: 0 file(s) processed Done discovering files. Discovering files... Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_TEST/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/MAKEFILE_TEMPLATE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RANDOM/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_STATIC/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_SORT/ Processing folder (non-recursive): S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/ATLMFC/INCLUDE Processing folder (non-recursive): S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/INCLUDE Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/CPPWINRT/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/SHARED/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UCRT/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UM/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/WINRT/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/BRAINFUCK/ Discovering files: 26073 file(s) processed 0 file(s) removed from database Done discovering files. Populating include completion cache. Parsing remaining files... Parsing: 0 files(s) processed Done parsing remaining files. Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RANDOM/ will be indexed Discovering files... Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_TEST/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/MAKEFILE_TEMPLATE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RANDOM/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_STATIC/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_SORT/ Processing folder (non-recursive): S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/ATLMFC/INCLUDE Processing folder (non-recursive): S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/INCLUDE Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/CPPWINRT/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/SHARED/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UCRT/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UM/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/WINRT/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/BRAINFUCK/ Discovering files: 26073 file(s) processed 0 file(s) removed from database Done discovering files. Populating include completion cache. Parsing remaining files... Parsing: 0 files(s) processed Done parsing remaining files. Folder: C:/TOOLS/MSYS64/MINGW64/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ will be indexed Folder: C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ will be indexed Folder: S:/PROG/C/INCLUDES/ will be indexed Folder: S:/PROG/C++/INCLUDES/ will be indexed Folder: S:/PROG/C/RANDOM/ will be indexed Discovering files... Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_TEST/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/MAKEFILE_TEMPLATE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RANDOM/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_STATIC/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/RAYLIB_SORT/ Processing folder (non-recursive): S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/ATLMFC/INCLUDE Processing folder (non-recursive): S:/PROGRAMS/MICROSOFT VISUAL STUDIO/2022/VC/TOOLS/MSVC/14.35.32215/INCLUDE Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/CPPWINRT/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/SHARED/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UCRT/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/UM/ Processing folder (recursive): S:/WINDOWS KITS/10/INCLUDE/10.0.19041.0/WINRT/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE/ Processing folder (recursive): C:/TOOLS/MSYS64/MINGW64/LIB/GCC/X86_64-W64-MINGW32/13.2.0/INCLUDE-FIXED/ Processing folder (recursive): S:/PROG/C/INCLUDES/ Processing folder (recursive): S:/PROG/C++/INCLUDES/ Processing folder (recursive): S:/PROG/C/BRAINFUCK/ Discovering files: 26073 file(s) processed 0 file(s) removed from database Done discovering files. Populating include completion cache. Parsing remaining files... Parsing: 0 files(s) processed Done parsing remaining files. c:\Users\user\.vscode\extensions\ms-vscode.cpptools-1.17.5-win32-x64/bin/../LLVM/bin/clang-tidy.exe --header-filter=(S:/prog/C/random|S:\\prog\\C\\random) --export-fixes=C:\Users\user\AppData\Local\Temp\{6913431285648090137}\fixes11664.yaml --quiet --use-color=false S:/prog/C/random/test.c -- -std=gnu17 -xc -Wno-pragma-pack -Wno-pragma-once-outside-header -D_DEBUG -DUNICODE -D_UNICODE -D__DBL_MIN_EXP__=(-1021) -D__UINT_LEAST16_MAX__=0xffff -D__FLT16_HAS_QUIET_NAN__=1 -D__ATOMIC_ACQUIRE=2 -D__FLT128_MAX_10_EXP__=4932 -D__FLT_MIN__=1.17549435082228750796873653722224568e-38F -D__GCC_IEC_559_COMPLEX=2 -D__UINT_LEAST8_TYPE__=unsigned char -D__BFLT16_DENORM_MIN__=9.18354961579912115600575419704879436e-41BF16 -D__INTMAX_C(c)=c ## LL -D__CHAR_BIT__=8 -D__MINGW32__=1 -D__UINT8_MAX__=0xff -D__SCHAR_WIDTH__=8 -D_WIN64=1 -D__WINT_MAX__=0xffff -D__FLT32_MIN_EXP__=(-125) -D__BFLT16_NORM_MAX__=3.38953138925153547590470800371487867e+38BF16 -D__BFLT16_MIN_10_EXP__=(-37) -D__ORDER_LITTLE_ENDIAN__=1234 -D__WCHAR_MAX__=0xffff -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 -D__GCC_ATOMIC_CHAR_LOCK_FREE=2 -D__GCC_IEC_559=2 -D__FLT32X_DECIMAL_DIG__=17 -D__FLT_EVAL_METHOD__=0 -D__FLT64_DECIMAL_DIG__=17 -D__GCC_ATOMIC_CHAR32_T_LOCK_FREE=2 -D__UINT_FAST64_MAX__=0xffffffffffffffffULL -D__SIG_ATOMIC_TYPE__=int -D__DBL_MIN_10_EXP__=(-307) -D__FINITE_MATH_ONLY__=0 -D__FLT32X_MAX_EXP__=1024 -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 -D__FLT32_HAS_DENORM__=1 -D__UINT_FAST8_MAX__=0xff -D__FLT32_MAX_10_EXP__=38 -D_stdcall=__attribute__((__stdcall__)) -D__DEC64_MAX_EXP__=385 -D__INT8_C(c)=c -D__INT_LEAST8_WIDTH__=8 -D__UINT_LEAST64_MAX__=0xffffffffffffffffULL -D__SHRT_MAX__=0x7fff -D__LDBL_MAX__=1.18973149535723176502126385303097021e+4932L -D__FLT64X_MAX_10_EXP__=4932 -D__BFLT16_MAX_10_EXP__=38 -D__BFLT16_MAX_EXP__=128 -D__LDBL_IS_IEC_60559__=1 -D__FLT64X_HAS_QUIET_NAN__=1 -D__UINT_LEAST8_MAX__=0xff -D__GCC_ATOMIC_BOOL_LOCK_FREE=2 -D__FLT128_DENORM_MIN__=6.47517511943802511092443895822764655e-4966F128 -D__UINTMAX_TYPE__=long long unsigned int -D__BFLT16_DECIMAL_DIG__=4 -D__DEC32_EPSILON__=1E-6DF -D__FLT_EVAL_METHOD_TS_18661_3__=0 -D__UINT32_MAX__=0xffffffffU -D__DBL_DENORM_MIN__=((double)4.94065645841246544176568792868221372e-324L) -D__FLT128_MIN_EXP__=(-16381) -D__WINT_MIN__=0 -D__FLT128_MIN_10_EXP__=(-4931) -D__FLT32X_IS_IEC_60559__=1 -D__INT_LEAST16_WIDTH__=16 -D__SCHAR_MAX__=0x7f -D__FLT128_MANT_DIG__=113 -D__WCHAR_MIN__=0 -D__INT64_C(c)=c ## LL -D__GCC_ATOMIC_POINTER_LOCK_FREE=2 -D__ATOMIC_SEQ_CST=5 -D__INT_LEAST64_MAX__=0x7fffffffffffffffLL -D__FLT32X_MANT_DIG__=53 -D__FLT64X_EPSILON__=1.08420217248550443400745280086994171e-19F64x -D__STDC_HOSTED__=1 -D__DEC64_MIN_EXP__=(-382) -D__WIN64=1 -D__DBL_DIG__=15 -D__FLT_EPSILON__=1.19209289550781250000000000000000000e-7F -D__SHRT_WIDTH__=16 -D__FLT32_IS_IEC_60559__=1 -D__LDBL_MIN__=3.36210314311209350626267781732175260e-4932L -D__STDC_UTF_16__=1 -D__DBL_IS_IEC_60559__=1 -D__DEC32_MAX__=9.999999E96DF -D__FLT64X_DENORM_MIN__=3.64519953188247460252840593361941982e-4951F64x -D__FLT32X_HAS_INFINITY__=1 -D__INT_WIDTH__=32 -D__DECIMAL_DIG__=21 -D__FLT64_EPSILON__=2.22044604925031308084726333618164062e-16F64 -D__FLT128_IS_IEC_60559__=1 -D__FLT64X_MIN_10_EXP__=(-4931) -D__LDBL_HAS_QUIET_NAN__=1 -D__FLT16_MIN_EXP__=(-13) -D__FLT64_MANT_DIG__=53 -D_REENTRANT=1 -D__FLT64X_MANT_DIG__=64 -D__BFLT16_DIG__=2 -D_cdecl=__attribute__((__cdecl__)) -D__MMX__=1 -D__FLT_HAS_DENORM__=1 -D__SIZEOF_LONG_DOUBLE__=16 -D__BIGGEST_ALIGNMENT__=16 -D__SIZE_TYPE__=long long unsigned int -D__FLT64_MAX_10_EXP__=308 -D__BFLT16_IS_IEC_60559__=0 -D__FLT16_MAX_10_EXP__=4 -D__DBL_MAX__=((double)1.79769313486231570814527423731704357e+308L) -D_thiscall=__attribute__((__thiscall__)) -D__INT_FAST32_MAX__=0x7fffffff -D__DBL_HAS_INFINITY__=1 -D__INT64_MAX__=0x7fffffffffffffffLL -D__SIZEOF_FLOAT__=4 -D__WINNT__=1 -D__HAVE_SPECULATION_SAFE_VALUE=1 -D__DEC32_MIN_EXP__=(-94) -D__INTPTR_WIDTH__=64 -D__UINT_LEAST32_MAX__=0xffffffffU -D__FLT32X_HAS_DENORM__=1 -D__INT_FAST16_TYPE__=short int -D__MMX_WITH_SSE__=1 -D_fastcall=__attribute__((__fastcall__)) -D__LDBL_HAS_DENORM__=1 -D__SEG_GS=1 -D__BFLT16_EPSILON__=7.81250000000000000000000000000000000e-3BF16 -D__FLT128_HAS_INFINITY__=1 -D__DEC32_MIN__=1E-95DF -D__DBL_MAX_EXP__=1024 -D__WCHAR_WIDTH__=16 -D__FLT32_MAX__=3.40282346638528859811704183484516925e+38F32 -D__DEC128_EPSILON__=1E-33DL -D__FLT16_DECIMAL_DIG__=5 -D__ATOMIC_HLE_RELEASE=131072 -D__WIN32__=1 -D__PTRDIFF_MAX__=0x7fffffffffffffffLL -D__amd64=1 -D__ATOMIC_HLE_ACQUIRE=65536 -D__LONG_LONG_MAX__=0x7fffffffffffffffLL -D__SIZEOF_SIZE_T__=8 -D__BFLT16_HAS_INFINITY__=1 -D__FLT64X_MIN_EXP__=(-16381) -D__SIZEOF_WINT_T__=2 -D__LONG_LONG_WIDTH__=64 -D__FLT32_MAX_EXP__=128 -D__GXX_ABI_VERSION=1018 -D__FLT_MIN_EXP__=(-125) -D__INT16_MAX__=0x7fff -D__x86_64=1 -D__INT_FAST64_TYPE__=long long int -D__BFLT16_MAX__=3.38953138925153547590470800371487867e+38BF16 -D__BFLT16_HAS_DENORM__=1 -D__FLT64_DENORM_MIN__=4.94065645841246544176568792868221372e-324F64 -D__FLT16_DENORM_MIN__=5.96046447753906250000000000000000000e-8F16 -D__FLT128_EPSILON__=1.92592994438723585305597794258492732e-34F128 -D__FLT64X_NORM_MAX__=1.18973149535723176502126385303097021e+4932F64x -D__SIZEOF_POINTER__=8 -D__DBL_HAS_QUIET_NAN__=1 -D__FLT32X_EPSILON__=2.22044604925031308084726333618164062e-16F32x -D__LDBL_MAX_EXP__=16384 -D__DECIMAL_BID_FORMAT__=1 -D__FLT64_MIN_EXP__=(-1021) -D__GXX_TYPEINFO_EQUALITY_INLINE=0 -D__FLT64_MIN_10_EXP__=(-307) -D__FLT16_MIN_10_EXP__=(-4) -D__FLT64X_DECIMAL_DIG__=21 -D__DEC128_MIN__=1E-6143DL -D__REGISTER_PREFIX__= -D__UINT16_MAX__=0xffff -D__DBL_HAS_DENORM__=1 -D__cdecl=__attribute__((__cdecl__)) -D__FLT32_MIN__=1.17549435082228750796873653722224568e-38F32 -D__UINT8_TYPE__=unsigned char -D__FLT_DIG__=6 -D__NO_INLINE__=1 -D__DEC_EVAL_METHOD__=2 -D__FLT_MANT_DIG__=24 -D__LDBL_DECIMAL_DIG__=21 -D__UINT64_C(c)=c ## ULL -D_WIN32=1 -D__SEH__=1 -D__INT_LEAST32_MAX__=0x7fffffff -D__GCC_ATOMIC_INT_LOCK_FREE=2 -D__FLT128_MAX_EXP__=16384 -D__FLT32_MANT_DIG__=24 -D__FLOAT_WORD_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__FLT32X_MIN_EXP__=(-1021) -D__BFLT16_MIN__=1.17549435082228750796873653722224568e-38BF16 -D__FLT128_HAS_DENORM__=1 -D__FLT32_DECIMAL_DIG__=9 -D__FLT128_DIG__=33 -D_INTEGRAL_MAX_BITS=64 -D__INT32_C(c)=c -D__DEC64_EPSILON__=1E-15DD -D__ORDER_PDP_ENDIAN__=3412 -D__DEC128_MIN_EXP__=(-6142) -D__DEC128_MAX__=9.999999999999999999999999999999999E6144DL -D__INT_FAST32_TYPE__=int -D__UINT_LEAST16_TYPE__=short unsigned int -D__DEC128_MAX_EXP__=6145 -D__UINT64_MAX__=0xffffffffffffffffULL -D__FLT_IS_IEC_60559__=1 -D__GNUC_WIDE_EXECUTION_CHARSET_NAME="UTF-16LE" -D__FLT64X_DIG__=18 -D__INT8_TYPE__=signed char -D__GCC_ASM_FLAG_OUTPUTS__=1 -D__UINT32_TYPE__=unsigned int -D__BFLT16_HAS_QUIET_NAN__=1 -D__FLT_RADIX__=2 -D__INT_LEAST16_TYPE__=short int -D__LDBL_EPSILON__=1.08420217248550443400745280086994171e-19L -D__UINTMAX_C(c)=c ## ULL -D__FLT16_DIG__=3 -D__FLT32X_MIN__=2.22507385850720138309023271733240406e-308F32x -D__SIG_ATOMIC_MAX__=0x7fffffff -D__GCC_ATOMIC_WCHAR_T_LOCK_FREE=2 -D__USER_LABEL_PREFIX__= -D__SIZEOF_PTRDIFF_T__=8 -D__FLT64X_HAS_INFINITY__=1 -D__FLT32_HAS_INFINITY__=1 -D__SIZEOF_LONG__=4 -D__LDBL_DIG__=18 -D__FLT64_IS_IEC_60559__=1 -D__x86_64__=1 -D__FLT16_IS_IEC_60559__=1 -D__FLT16_MAX_EXP__=16 -D__DEC32_SUBNORMAL_MIN__=0.000001E-95DF -D__MSVCRT__=1 -D__INT_FAST16_MAX__=0x7fff -D__GCC_CONSTRUCTIVE_SIZE=64 -D__FLT64_DIG__=15 -D__UINT_FAST32_MAX__=0xffffffffU -D__UINT_LEAST64_TYPE__=long long unsigned int -D__FLT16_EPSILON__=9.76562500000000000000000000000000000e-4F16 -D__FLT_HAS_QUIET_NAN__=1 -D__FLT_MAX_10_EXP__=38 -D__LONG_MAX__=0x7fffffffL -D__FLT64X_HAS_DENORM__=1 -D__DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL -D__FLT_HAS_INFINITY__=1 -D__GNUC_EXECUTION_CHARSET_NAME="UTF-8" -D__UINT_FAST16_TYPE__=short unsigned int -D__DEC64_MAX__=9.999999999999999E384DD -D__INT_FAST32_WIDTH__=32 -D__CHAR16_TYPE__=short unsigned int -D__PRAGMA_REDEFINE_EXTNAME=1 -D__SIZE_WIDTH__=64 -D__SEG_FS=1 -D__INT_LEAST16_MAX__=0x7fff -D__FLT16_NORM_MAX__=6.55040000000000000000000000000000000e+4F16 -D__DEC64_MANT_DIG__=16 -D__FLT32_DENORM_MIN__=1.40129846432481707092372958328991613e-45F32 -D__SIG_ATOMIC_WIDTH__=32 -D__INT_LEAST64_TYPE__=long long int -D__INT16_TYPE__=short int -D__INT_LEAST8_TYPE__=signed char -D__FLT16_MAX__=6.55040000000000000000000000000000000e+4F16 -D__nocona__=1 -D__FLT128_MIN__=3.36210314311209350626267781732175260e-4932F128 -D__STDC_VERSION__=201710L -D__SIZEOF_INT__=4 -D__DEC32_MAX_EXP__=97 -D__INT_FAST8_MAX__=0x7f -D__FLT128_MAX__=1.18973149535723176508575932662800702e+4932F128 -D__INTPTR_MAX__=0x7fffffffffffffffLL -D__WIN64__=1 -D__FLT64_HAS_QUIET_NAN__=1 -D__stdcall=__attribute__((__stdcall__)) -D__FLT32_MIN_10_EXP__=(-37) -D__FLT32X_DIG__=15 -D__GXX_MERGED_TYPEINFO_NAMES=0 -D__UINT16_C(c)=c -D__PTRDIFF_WIDTH__=64 -D__LDBL_MANT_DIG__=64 -D__INT_FAST16_WIDTH__=16 -D__FLT64_HAS_INFINITY__=1 -D__FLT64X_MAX__=1.18973149535723176502126385303097021e+4932F64x -D__FLT16_HAS_INFINITY__=1 -D__SIG_ATOMIC_MIN__=(-__SIG_ATOMIC_MAX__ - 1) -D__GCC_ATOMIC_LONG_LOCK_FREE=2 -D__DEC32_MANT_DIG__=7 -D__FLT16_MANT_DIG__=11 -D__INTPTR_TYPE__=long long int -D__UINT16_TYPE__=short unsigned int -D__WCHAR_TYPE__=short unsigned int -D__pic__=1 -D__UINTPTR_MAX__=0xffffffffffffffffULL -D__INT_FAST64_WIDTH__=64 -D__LDBL_HAS_INFINITY__=1 -D__INT_FAST64_MAX__=0x7fffffffffffffffLL -D__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1 -D__FLT_NORM_MAX__=3.40282346638528859811704183484516925e+38F -D__FLT64X_MAX_EXP__=16384 -D__UINT_FAST64_TYPE__=long long unsigned int -D__BFLT16_MIN_EXP__=(-125) -D__INT_MAX__=0x7fffffff -DWIN32=1 -D__nocona=1 -D__code_model_medium__=1 -D__INT64_TYPE__=long long int -D__FLT_MAX_EXP__=128 -DWIN64=1 -D__ORDER_BIG_ENDIAN__=4321 -D__DBL_MANT_DIG__=53 -D__SIZEOF_FLOAT128__=16 -D__BFLT16_MANT_DIG__=8 -D__GCC_ATOMIC_CHAR16_T_LOCK_FREE=2 -D__DEC64_MIN__=1E-383DD -D__WINT_TYPE__=short unsigned int -D__UINT_LEAST32_TYPE__=unsigned int -D__SIZEOF_SHORT__=2 -D__FLT32_NORM_MAX__=3.40282346638528859811704183484516925e+38F32 -D__LDBL_MIN_EXP__=(-16381) -D__FLT64_MAX__=1.79769313486231570814527423731704357e+308F64 -D__amd64__=1 -D__WINT_WIDTH__=16 -D__INT_LEAST8_MAX__=0x7f -D__INT_LEAST64_WIDTH__=64 -D__FLT32X_MAX_10_EXP__=308 -D__WIN32=1 -D__SIZEOF_INT128__=16 -D__FLT16_MIN__=6.10351562500000000000000000000000000e-5F16 -D__FLT64X_IS_IEC_60559__=1 -D__LDBL_MAX_10_EXP__=4932 -D__ATOMIC_RELAXED=0 -D__DBL_EPSILON__=((double)2.22044604925031308084726333618164062e-16L) -D__INT_LEAST32_TYPE__=int -D__thiscall=__attribute__((__thiscall__)) -D__UINT8_C(c)=c -D__FLT64_MAX_EXP__=1024 -D__SIZEOF_WCHAR_T__=2 -D__UINT64_TYPE__=long long unsigned int -D__WINNT=1 -D__FLT128_NORM_MAX__=1.18973149535723176508575932662800702e+4932F128 -D__FLT64_NORM_MAX__=1.79769313486231570814527423731704357e+308F64 -D__FLT128_HAS_QUIET_NAN__=1 -D__INTMAX_MAX__=0x7fffffffffffffffLL -D__INT_FAST8_TYPE__=signed char -D__fastcall=__attribute__((__fastcall__)) -D__FLT64X_MIN__=3.36210314311209350626267781732175260e-4932F64x -D__GNUC_STDC_INLINE__=1 -D__FLT64_HAS_DENORM__=1 -D__FLT32_EPSILON__=1.19209289550781250000000000000000000e-7F32 -D__FLT16_HAS_DENORM__=1 -D__DBL_DECIMAL_DIG__=17 -D__STDC_UTF_32__=1 -D__INT_FAST8_WIDTH__=8 -D__FXSR__=1 -D__FLT32X_MAX__=1.79769313486231570814527423731704357e+308F32x -D__DBL_NORM_MAX__=((double)1.79769313486231570814527423731704357e+308L) -D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__ -D__MINGW64__=1 -D__GCC_DESTRUCTIVE_SIZE=64 -D__INTMAX_WIDTH__=64 -D__FLT32_DIG__=6 -D__UINT32_C(c)=c ## U -DWINNT=1 -D__FLT_DENORM_MIN__=1.40129846432481707092372958328991613e-45F -D__INT8_MAX__=0x7f -D__LONG_WIDTH__=32 -D__DBL_MIN__=((double)2.22507385850720138309023271733240406e-308L) -D__PIC__=1 -D__INT32_MAX__=0x7fffffff -D__UINT_FAST32_TYPE__=unsigned int -D__FLT32X_NORM_MAX__=1.79769313486231570814527423731704357e+308F32x -D__CHAR32_TYPE__=unsigned int -D__FLT_MAX__=3.40282346638528859811704183484516925e+38F -D__INT32_TYPE__=int -D__SIZEOF_DOUBLE__=8 -D__FLT_MIN_10_EXP__=(-37) -D__FLT64_MIN__=2.22507385850720138309023271733240406e-308F64 -D__INT_LEAST32_WIDTH__=32 -D__INTMAX_TYPE__=long long int -D__FLT32X_HAS_QUIET_NAN__=1 -D__ATOMIC_CONSUME=1 -D__UINTMAX_MAX__=0xffffffffffffffffULL -D__FLT32X_DENORM_MIN__=4.94065645841246544176568792868221372e-324F32x -D__DBL_MAX_10_EXP__=308 -D__LDBL_DENORM_MIN__=3.64519953188247460252840593361941982e-4951L -D__INT16_C(c)=c -D__STDC__=1 -D__PTRDIFF_TYPE__=long long int -D__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16=1 -D__FLT32X_MIN_10_EXP__=(-307) -D__UINTPTR_TYPE__=long long unsigned int -D__DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD -D__DEC128_MANT_DIG__=34 -D__LDBL_MIN_10_EXP__=(-4931) -D__SIZEOF_LONG_LONG__=8 -D__FLT128_DECIMAL_DIG__=36 -D__GCC_ATOMIC_LLONG_LOCK_FREE=2 -D__FLT32_HAS_QUIET_NAN__=1 -D__FLT_DECIMAL_DIG__=9 -D__UINT_FAST16_MAX__=0xffff -D__LDBL_NORM_MAX__=1.18973149535723176502126385303097021e+4932L -D__GCC_ATOMIC_SHORT_LOCK_FREE=2 -D__SIZE_MAX__=0xffffffffffffffffULL -D__UINT_FAST8_TYPE__=unsigned char -D__ATOMIC_ACQ_REL=4 -D__ATOMIC_RELEASE=3 -D__declspec(x)=__attribute__((x)) -isystemS:/prog/C/Includes -isystemC:/tools/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/13.2.0/include -isystemC:/tools/msys64/mingw64/include -isystemC:/tools/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/13.2.0/include-fixed Checking for syntax errors: S:\prog\C\random\test.c warning: redefining builtin macro [clang-diagnostic-builtin-macro-redefined] ```

Other Extensions

I disabled all extensions except C/C++

browntarik commented 1 year ago

Thank you for your issue! Below are some suggestions to solve your issue, please follow these suggestions and follow-up here if none of them are successful!

1. Verify the Path:

Ensure that the path to the gcc.exe is correct. If you can, navigate to "C:\tools\msys64\mingw64\bin\" in File Explorer and check if gcc.exe is indeed there.

2. Check the Path in Settings:

There should be a configuration or settings file (e.g., c_cpp_properties.json in the case of VS Code's C/C++ extension) where you can specify the compiler path. Make sure it's set to the correct path.

For example, in c_cpp_properties.json:

{
    "configurations": [
        {
            "name": "Win32",
            "compilerPath": "C:\\tools\\msys64\\mingw64\\bin\\gcc.exe",
            ...
        }
    ],
    ...
}

3. System Path:

Although VS Code should recognize the compilerPath set in its configuration, you should add C:\tools\msys64\mingw64\bin\ (or the correct path in your system) to your system's PATH environment variable.

4. Restart:

After making changes, restart VS Code to make sure it picks up the new configurations. Also, consider restarting the terminal or command prompt if you're using one.

5. Check Compiler Version:

In the terminal or command prompt, navigate to the directory C:\tools\msys64\mingw64\bin\ ( or the correct path) and run:

gcc --version

This ensures that GCC itself doesn't have any issues.

6. Permission Issues:

Ensure that there are no permission issues preventing VS Code from accessing gcc.exe. Try running the tool as an administrator and see if the problem persists.

7. Update VS Code:

It's possible that a recent update might have caused a regression or an incompatibility issue. Consider updating VS Code to the latest version. Also, consider updating the MSYS2 distribution and its packages using:

pacman -Syu

8. Reset Configurations:

As a last resort, try resetting the configurations to the defaults and then reconfiguring the compiler paths.

If you've gone through all the steps above and still face the issue, consider providing more detailed information about your setup, the exact steps you took before the issue started, and any other changes to your system. This additional context will make it easier to diagnose and find a solution.

Colengms commented 1 year ago

Hi @Xotchkass ,

Looking at your log, I see the following:

gcc.exe: error: unrecognized command-line option '-Werror -pedantic -Wfatal-errors -Wduplicated-cond -Wshift-negative-value'

The issue you are seeing appears to be due to providing this particular command line argument, which gcc is unable to accept, causing a query of the compiler (for system includes and system defines) to fail. This argument is originating from your configuration somewhere. I don't see this values in the information you provided. Given that you're using "mergeConfigurations": true, that value is likely coming from a setting such as C_Cpp.default.compilerArgs. That would appear to be the root cause of your issue.

Also, these are obviously separate arguments but appear to have been provided by a single compilerArg entry and need to be separated into multiple entries. There are technically differences between individual command line arguments, and multiple arguments contained with a command line fragment. Individual arguments must not contain shell escaping characters, while a command line fragment may. Note that the extension does currently also support command line fragments such as this, when passed after the compiler in a compilerPath field. Though, I don't see any shell escaping in the fragment, so it would probably be simplest to separate the arguments into separate entries.

Also note that, based on the "configurationProvider": "${default}" field in c_cpp_properties.json, if you have C_Cpp.default.configurationProvider set and that provider is able to provide a configuration for a file, that configuration will be used and take precedence over most other fields in c_cpp_properties.json. Though, in your log, I do not see a configuration being provided.

Xotchkass commented 1 year ago

Okay, apparently the problem was with one of the `c_cpp_properties.json' files. After deleting them and creating new ones, it was fixed.