Hi,
The approach I took is:
function! CppCheck()
silent exe '!cppcheck --enable=all --verbose --template gcc * 2>
cppcheck.out'
cfile cppcheck.out
copen
endfunction
You can update it to use whatever directory you please. The only
drawback is that cppcheck.out is left hanging around.
This approach dumps the messages to expect to stdout (don't use the -q
option) and redirects cppcheck's valued output (which is dumped to
stderr) to a file.
Cheers!
Chris
--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php