新手上路
- 积分
- 28
- 金钱
- 28
- 注册时间
- 2018-3-22
- 在线时间
- 5 小时
|
vscode有个毛病,只有要一处错误,之后的智能提示就不起作用了。在defines 中加入了两个宏定义,所有红色波浪线就都消失了。
{
"configurations": [
{
"name": "Linux",
"includePath": [
"/home/luan/linux/kernel/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek/include/",
"/home/luan/linux/kernel/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek/arch/arm/include/",
"/home/luan/linux/kernel/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek/arch/arm/include/generated/",
"/home/luan/linux/kernel/linux-imx-rel_imx_4.1.15_2.1.0_ga_alientek/arch/arm/mach-shmobile/include/",
"${workspaceFolder}/**"
],
"defines": [
"__GNUC__",
"__KERNEL__"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
|
|