how to enter -isystem header paths in mcuxpresso

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to enter -isystem header paths in mcuxpresso

ソリューションへジャンプ
3,188件の閲覧回数
sandeepa2
Contributor II
1 解決策
3,165件の閲覧回数
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,845件の閲覧回数
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,166件の閲覧回数
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,156件の閲覧回数
sandeepa2
Contributor II

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

3,134件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

OK thanks.

0 件の賞賛
返信