how to enter -isystem header paths in mcuxpresso

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to enter -isystem header paths in mcuxpresso

跳至解决方案
3,190 次查看
sandeepa2
Contributor II
标记 (2)
1 解答
3,167 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

MCUXpresso IDE compiler has -I (include paths), -include(include files). Linker has -l (include libs), -L(include search path). This is sufficient to find system files. Could you please let me know why you need -isystem?

Seems MCUXpresso IDE doesn't arrange a place for -isystem .  If you insist adding it, you can add it in other flag:

ZhangJennie_0-1639471932843.png

 

Hope this helps,

Jun Zhang

 

在原帖中查看解决方案

4 回复数
2,847 次查看
gemmell
Contributor I

please add support for this, would like to distinguish between third party libraries and our source code so that clang-tidy knows which files to suppress errors for. 

0 项奖励
回复
3,168 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

MCUXpresso IDE compiler has -I (include paths), -include(include files). Linker has -l (include libs), -L(include search path). This is sufficient to find system files. Could you please let me know why you need -isystem?

Seems MCUXpresso IDE doesn't arrange a place for -isystem .  If you insist adding it, you can add it in other flag:

ZhangJennie_0-1639471932843.png

 

Hope this helps,

Jun Zhang

 

3,158 次查看
sandeepa2
Contributor II

well, GCC will not generate warnings from libraries we can use -isystem option. I will try option suggested

3,136 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

OK thanks.

0 项奖励
回复