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