diff --git a/syntax_checkers/cpp/gcc.vim b/syntax_checkers/cpp/gcc.vim index 586d022b..c55b9c6b 100644 --- a/syntax_checkers/cpp/gcc.vim +++ b/syntax_checkers/cpp/gcc.vim @@ -16,7 +16,7 @@ endif let g:loaded_syntastic_cpp_gcc_checker = 1 if !exists('g:syntastic_cpp_compiler') - let g:syntastic_cpp_compiler = executable('g++') ? 'g++' : 'clang' + let g:syntastic_cpp_compiler = executable('g++') ? 'g++' : 'clang++' endif function! SyntaxCheckers_cpp_gcc_IsAvailable() dict