Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sergei Trofimovich
BIND
Commits
d883aab0
Commit
d883aab0
authored
Aug 07, 2019
by
Ondřej Surý
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the flycheck configuration for gcc and cppcheck
parent
48213633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
.dir-locals.el
.dir-locals.el
+16
-0
No files found.
.dir-locals.el
View file @
d883aab0
...
...
@@ -61,6 +61,7 @@
(
eval
setq
flycheck-clang-include-path
include-directories
)
(
eval
setq
flycheck-cppcheck-include-path
include-directories
)
(
eval
setq
flycheck-gcc-include-path
include-directories
)
(
eval
setq
flycheck-clang-args
(
list
"-include"
...
...
@@ -68,5 +69,20 @@
(
concat
directory-of-current-dir-locals-file
"config.h"
))
)
)
(
eval
setq
flycheck-gcc-args
(
list
"-include"
(
expand-file-name
(
concat
directory-of-current-dir-locals-file
"config.h"
))
)
)
(
eval
setq
flycheck-cppcheck-args
(
list
"--enable=all"
"--suppress=missingIncludeSystem"
(
concat
"-include="
(
expand-file-name
(
concat
directory-of-current-dir-locals-file
"config.h"
)))
)
)
)
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment