From c0676a74d9d36920ce784ac85c7f4dbe74c00378 Mon Sep 17 00:00:00 2001 From: Yosuke ONOUE Date: Sat, 22 Sep 2012 21:20:57 +0900 Subject: [PATCH] Fixed compiler options for C++ header check. --- syntax_checkers/cpp.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax_checkers/cpp.vim b/syntax_checkers/cpp.vim index 8aae1fe4..52edfe10 100644 --- a/syntax_checkers/cpp.vim +++ b/syntax_checkers/cpp.vim @@ -108,6 +108,7 @@ function! SyntaxCheckers_cpp_GetLocList() if expand('%') =~? '\%(.h\|.hpp\|.hh\)$' if exists('g:syntastic_cpp_check_header') let makeprg = g:syntastic_cpp_compiler.' -c '.shellescape(expand('%')). + \ ' ' . g:syntastic_cpp_compiler_options. \ ' ' . syntastic#c#GetIncludeDirs('cpp') else return []