4dd38bcc44f9f46178d83fb4de8084d708da5966
2024.10.14 c_cpp_properties.json 中 "intelliSenseMode": "linux-gcc-x86",时 sizeof(long)==4 "intelliSenseMode": "linux-gcc-x64",时 sizeof(long)==8 代码分析可以识别数组对齐 #pragma pack(1) 注释这个之后 sizeof 的结构体会按未1字节对齐的来计算 2024.10.22 c_cpp_properties.json 中指定了编译器路径之后 如果此编译器不在path路径中 则会出现类似找不到 stdarg.h 的问题 指定了 riscv 的编译器之后 clear_csr write_csr 宏可以正常找到
Description
Languages
C
98.4%
Makefile
0.6%
Shell
0.5%
Python
0.2%
Assembly
0.2%