abi-compliance-checker
abi-compliance-checker copied to clipboard
abi-compliance-checker include directories
Hello,
I don't know if this is the right place to ask this kind of questions. Let me know if I should ask this in another place.
I'm executing the abi-compliance-checker
with the following command:
abi-compliance-checker -l orig -tolerance 12 --gcc-path /usr/bin/x86_64-linux-gnu-gcc-9 -dump /tmp/rcpputils-apt/files -gcc-options '-I/opt/ros/foxy/include'
But for some reason when it's trying to compile the code it's including the directory -I/usr/include/x86_64-linux-gnu/sys
which I think it's wrong, this should be just I/usr/include/
.
/usr/bin/x86_64-linux-gnu-gcc-9 -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w -I/opt/ros/foxy/include "/tmp/5OumYVXBst/dump1.h" -I/tmp/rcpputils-apt/files/opt/ros/foxy/include -I/usr/include/x86_64-linux-gnu/sys
How can I modify this include? This include it's generating a bunch of this kind of error:
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/x86_64-linux-gnu/sys/errno.h:1,
from /usr/include/c++/9/cerrno:42,
from /usr/include/c++/9/ext/string_conversions.h:44,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /tmp/rcpputils-apt/files/opt/ros/foxy/include/rcpputils/find_library.hpp:22,
from /tmp/5OumYVXBst/dump1.h:3:
/usr/include/x86_64-linux-gnu/sys/errno.h:1:19: error: #include nested too deeply
1 | #include <errno.h>
Thank you.