How can one enter -isystem directories for an MCUExpresso project?
https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html
https://github.com/eclipse-embed-cdt/eclipse-plugins/issues/270
Solved! Go to Solution.
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:
Hope this helps,
Jun Zhang
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.
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:
Hope this helps,
Jun Zhang
well, GCC will not generate warnings from libraries we can use -isystem option. I will try option suggested
OK thanks.