summaryrefslogtreecommitdiff
path: root/ale_linters/cpp
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-30 20:09:43 +0100
committerw0rp <devw0rp@gmail.com>2018-07-30 20:09:43 +0100
commit16d0c52d24e8948b8bd8030e3fd112e0b6361c06 (patch)
tree608a4a86e1f0521830bb409d88026fe881ff6ec2 /ale_linters/cpp
parent1e6b1d9be28495ead50e24b0d1eb93963dd92f4c (diff)
downloadale-16d0c52d24e8948b8bd8030e3fd112e0b6361c06.zip
Indicate that a C compiler failed due to problems in a header file
Diffstat (limited to 'ale_linters/cpp')
-rw-r--r--ale_linters/cpp/clang.vim2
-rw-r--r--ale_linters/cpp/gcc.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/cpp/clang.vim b/ale_linters/cpp/clang.vim
index 4f3c5b6f..72793a71 100644
--- a/ale_linters/cpp/clang.vim
+++ b/ale_linters/cpp/clang.vim
@@ -28,5 +28,5 @@ call ale#linter#Define('cpp', {
\ {'callback': 'ale#c#GetMakeCommand', 'output_stream': 'stdout'},
\ {'callback': 'ale_linters#cpp#clang#GetCommand'},
\ ],
-\ 'callback': 'ale#handlers#gcc#HandleGCCFormat',
+\ 'callback': 'ale#handlers#gcc#HandleGCCFormatWithIncludes',
\})
diff --git a/ale_linters/cpp/gcc.vim b/ale_linters/cpp/gcc.vim
index 242e389e..17f5acf5 100644
--- a/ale_linters/cpp/gcc.vim
+++ b/ale_linters/cpp/gcc.vim
@@ -29,5 +29,5 @@ call ale#linter#Define('cpp', {
\ {'callback': 'ale#c#GetMakeCommand', 'output_stream': 'stdout'},
\ {'callback': 'ale_linters#cpp#gcc#GetCommand'},
\ ],
-\ 'callback': 'ale#handlers#gcc#HandleGCCFormat',
+\ 'callback': 'ale#handlers#gcc#HandleGCCFormatWithIncludes',
\})