how to enter -isystem header paths in mcuxpresso

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to enter -isystem header paths in mcuxpresso

Jump to solution
1,667 Views
sandeepa2
Contributor II
1 Solution
1,644 Views
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

 

View solution in original post

4 Replies
1,324 Views
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 Kudos
1,645 Views
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

 

1,635 Views
sandeepa2
Contributor II

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

1,613 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

OK thanks.

0 Kudos