mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
IWYU update
- Add Settings forward declaration in Process.h - Add assert.h include in XUitls.c - Add conditional stdbool.h include in Object.h - Drop unneeded stddef.h include in Richstring.c - Drop unneeded unistd.h include in Process.h - Drop unneeded string.h include in linux/Platform.c - Use String_eq to avoid string.h include in Action.c - Improve script to run custom iwyu version
This commit is contained in:

committed by
cgzones

parent
803234a58d
commit
8a08a3209c
@ -6,7 +6,9 @@ SOURCEDIR="$SCRIPTDIR/.."
|
||||
|
||||
PKG_NL3=$(pkg-config --cflags libnl-3.0)
|
||||
|
||||
cd "$SOURCEDIR"
|
||||
IWYU=${IWYU:-iwyu}
|
||||
|
||||
cd "$SOURCEDIR" || exit
|
||||
|
||||
make clean
|
||||
make -k CC="iwyu" CFLAGS="-Xiwyu --no_comments -Xiwyu --no_fwd_decl -Xiwyu --mapping_file='$SCRIPTDIR/htop.imp' $PKG_NL3"
|
||||
make --keep-going --silent CC="$IWYU" CFLAGS="-Xiwyu --no_comments -Xiwyu --no_fwd_decl -Xiwyu --mapping_file='$SCRIPTDIR/htop.imp' $PKG_NL3"
|
||||
|
Reference in New Issue
Block a user