Hello,
I've downloaded MinGW on Windows 7, so I can compile c++ programs from cmd with the command g++ example.cpp -o run. With vim, :make isn't catching any errors, or maybe I don't correctly understand how :make works, I'm not really sure.
In my vimrc I have:
makeprg=g++\ %\ -o\ run
When example.cpp contains an error:
:make gives me "!g++ example.cpp -o run > C:\...\VIeD50B.tmp
shell returned 1
Press ENTER or type command to continue"
:cn gives me "E42: No Errors"
Thanks in advance!
--
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
Tuesday, January 1, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment