-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bed9e2
commit 4a9e579
Showing
4 changed files
with
37 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
--- | ||
ExtraArgs: ["-std=gnu17", "-D _GNU_SOURCE 1", "-I./include", "-I./lib/log", "-I./lib/argtable"] | ||
ExtraArgs: | ||
[ | ||
"-std=gnu17", | ||
"-D _GNU_SOURCE 1", | ||
"-D __STDC_WANT_LIB_EXT1__", | ||
"-I./include", | ||
"-I./lib/log", | ||
"-I./lib/argtable", | ||
] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lucavallin
Author
Owner
|
||
HeaderFileExtensions: | ||
- h | ||
HeaderFilterRegex: "./include/*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@lucavallin One small tip: you can provide compiler arguments to clang-tidy by putting them after
--
. So instead of duplicating them here, you can append-- $(CFLAGS)
at the end of the LINTER command in the Makefile.One caveat is that this will also include the warning flags from
CFLAGS
, but in my experience, that's a usually a non-issue.