summaryrefslogtreecommitdiff
path: root/ale_linters/c/gcc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/c/gcc.vim')
-rw-r--r--ale_linters/c/gcc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/c/gcc.vim b/ale_linters/c/gcc.vim
index 583f4fab..594c5c83 100644
--- a/ale_linters/c/gcc.vim
+++ b/ale_linters/c/gcc.vim
@@ -10,7 +10,7 @@ if !exists('g:ale_c_gcc_options')
endif
function! ale_linters#c#gcc#GetCommand(buffer) abort
- return 'gcc -S -x c++ -fsyntax-only '
+ return 'gcc -S -x c -fsyntax-only '
\ . g:ale_c_gcc_options . ' -'
endfunction