-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseAn issue related to configuring the extension or IntelliSenseLanguage Servicebugquick fix
Milestone
Description
Environment
- OS and Version: Win11
- VS Code Version: 1.95.1
- C/C++ Extension Version: v1.22.11
Bug Summary and Steps to Reproduce
Bug Summary:
Apparently
C:\src\espressif\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -mlongcalls -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -gdwarf-4 -ggdb -mdisable-hardware-atomics -Og -fno-shrink-wrap -fmacro-prefix-map=C:/src/v3/firmware=. -fmacro-prefix-map=C:/src/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -m32 -Wp,-v -E -dM -x c nul
contains a comma after -Wp, that makes the compiler go angry:
If i manually remove the comma, i get instead:
is there a way to remove the comma?
thanks
Configuration and Logs
Attempting to get defaults from C compiler in "compilerPath" property: 'C:\src\espressif\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe'
Compiler query command line: C:\src\espressif\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -mlongcalls -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -gdwarf-4 -ggdb -mdisable-hardware-atomics -Og -fno-shrink-wrap -fmacro-prefix-map=C:/src/v3/firmware=. -fmacro-prefix-map=C:/src/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -m32 -Wp,-v -E -dM -x c nul
Failed to query compiler. Falling back to 64-bit intelliSenseMode.
Compiler query command line: C:\src\espressif\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -mlongcalls -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -gdwarf-4 -ggdb -mdisable-hardware-atomics -Og -fno-shrink-wrap -fmacro-prefix-map=C:/src/v3/firmware=. -fmacro-prefix-map=C:/src/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -m64 -Wp,-v -E -dM -x c nul
Failed to query compiler. Falling back to no bitness.
Compiler query command line: C:\src\espressif\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -mlongcalls -fno-builtin-memcpy -fno-builtin-memset -fno-builtin-bzero -fno-builtin-stpcpy -fno-builtin-strncpy -fdiagnostics-color=always -ffunction-sections -fdata-sections -gdwarf-4 -ggdb -mdisable-hardware-atomics -Og -fno-shrink-wrap -fmacro-prefix-map=C:/src/v3/firmware=. -fmacro-prefix-map=C:/src/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wp,-v -E -dM -x c nul
�[01m�[Kxtensa-esp32s3-elf-gcc.exe:�[m�[K �[01;31m�[Kerror: �[m�[Kunrecognized command-line option '�[01m�[K-mdisable-hardware-atomics�[m�[K'
Other Extensions
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseAn issue related to configuring the extension or IntelliSenseLanguage Servicebugquick fix
Type
Projects
Status
Done

