Open vhexl opened 2 months ago
Hello,
I installed the ESP IDF extension and toolchain. I can reproduce the issue you are seeing. What appears to be the case is that the xtensa-esp32-elf-gcc compiler defines __UINT32_TYPE__
as a long unsigned int
. It also defines __SIZEOF_LONG__
to 4
, but it doesn't look like we honor that. Our IntelliSense server on linux uses a long
with a size of 8
which is the standard size of a long
for gcc
.
It might be possible to override that, but we'll need to look into it.
Environment
Bug Summary and Steps to Reproduce
Bug Summary: I'm work on ESP-IDF get C/C++(1578), and hover
sizeof(uint32_t)
get(size_t)8U
, hoveruint32_t
gettypedef unsigned long uint32_t
In Windows 10 i get
sizeof(uint32_t)
is(size_t)4U
code snippets
Steps to reproduce:
Expected behavior:
Configuration and Logs
Other Extensions
ESP_IDF: espressif.esp-idf-extension
Additional context
No response