iar.vim (843B)
1 " Vim compiler file 2 " Compiler: IAR Systems C/C++ Compiler 3 4 if exists("current_compiler") 5 finish 6 endif 7 let current_compiler = "iar" 8 9 let s:cpo_save = &cpo 10 set cpo&vim 11 12 " abc; 13 " ^ 14 " "/tmp/test.c",3 Error[Pe077]: this 15 " declaration has no storage class or type specifier 16 17 " Error[Li005]: no definition for "Foo::Foo(unsigned shor 18 " t, unsigned short, unsigned int, char const *)" 19 " [referenced from Bar.o(libBar.a)] 20 21 CompilerSet errorformat= 22 \%A\ \ %p^, 23 \%C\"%f\"\\\,%l\ \ Remark[%*[^]]]:%m, 24 \%C\"%f\"\\\,%l\ \ %tarning[%*[^]]]:%m, 25 \%C\"%f\"\\\,%l\ \ %trror[%*[^]]]:%m, 26 \%C\"%f\"\\\,%l\ \ Fatal\ %trror[%*[^]]]:%m, 27 \%C\"%f\"\\\,%l\ \ [note]:%m, 28 \%EInternal\ error:%m, 29 \%EError[%*[^]]]:%m, 30 \%C%\\s%\\+%m, 31 \%Z 32 33 let &cpo = s:cpo_save 34 unlet s:cpo_save