Pattern for VC
Posted: Thu Mar 22, 2012 5:25 pm
Hi,
I have to work on a Visual Studio project, which I can not import because it will occasionally be changed by an other program. Since I don't wanna use Visual Studio as editor, I managed to build with CL by doing a custom build calling 'devenv /nologo xxx.sln /build Release'. That works like a charm.
The only problem I have is that CL is not marking the errors in the output window. My knowledge about regex is very little, so I don't know how to change the error patterns to work correct.
An error output looks like this:
The current pattern like this:
Any suggestions?
Frank
I have to work on a Visual Studio project, which I can not import because it will occasionally be changed by an other program. Since I don't wanna use Visual Studio as editor, I managed to build with CL by doing a custom build calling 'devenv /nologo xxx.sln /build Release'. That works like a charm.
The only problem I have is that CL is not marking the errors in the output window. My knowledge about regex is very little, so I don't know how to change the error patterns to work correct.
An error output looks like this:
Code: Select all
1>..\..\Source\CMainComponent.cpp(63) : error C2146: syntax error : missing ';' before identifier 'setSize'
Code: Select all
(^[a-zA-Z\\\.0-9 _/\:\+\-]+ *)(\()([0-9]+)(\))( \: )(error)
File name index 1
Line number index 3
Frank