Skip to content

Fix build warnings and checkcfg errors with musl and libc++.#3244

Merged
amai2012 merged 3 commits into
cppcheck-opensource:mainfrom
keinflue:fix-musl-libcxx
May 3, 2021
Merged

Fix build warnings and checkcfg errors with musl and libc++.#3244
amai2012 merged 3 commits into
cppcheck-opensource:mainfrom
keinflue:fix-musl-libcxx

Conversation

@keinflue
Copy link
Copy Markdown
Contributor

@keinflue keinflue commented May 2, 2021

The first commit fixes the following warning when building with musl:

In file included from cli/filelister.cpp:182:                                  
/usr/include/sys/errno.h:1:2: warning: redirecting incorrect #include <sys/errno.h> to <errno.h> [-W#warnings]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>                                                                                            
 ^     

The second commit fixes some compilation errors occurring during make checkcfg with musl and libc++ instead of glibc and libstdc++.

@amai2012 amai2012 merged commit 6b80296 into cppcheck-opensource:main May 3, 2021
@keinflue keinflue deleted the fix-musl-libcxx branch May 8, 2021 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants