diff options
author | w0rp <w0rp@users.noreply.github.com> | 2017-02-01 10:46:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-01 10:46:06 +0000 |
commit | 512b6e00d9379700d65dbf7701dc9631f62866d8 (patch) | |
tree | ba8efcdef335f3e7cb0433e090c418e9a8c3ca26 | |
parent | a1458e9c072e1cfc425591b7616a291e99778753 (diff) | |
parent | e8123b3d5ede8da87fedc748f2712e2de1b24af8 (diff) | |
download | ale-512b6e00d9379700d65dbf7701dc9631f62866d8.zip |
Merge pull request #284 from EinfachToll/fix-gcc-command
Tell gcc to use C, not C++, when linting C source files
-rw-r--r-- | ale_linters/c/gcc.vim | 2 |
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 |