Show column error when using msbuild.exe

Is it possible to get the column number where the error occurred (mainly coming from cl.exe) in the output MSBuild.exe?

I would like to do this to properly bind the F4 key to Sublime Text.

Microsoft (R) Build Engine version 4.0.30319.17929
[Microsoft .NET Framework, version 4.0.30319.17929]
Copyright (C) Microsoft Corporation. All rights reserved.

  'Microsoft Visual C++ Compiler Nov 2012 CTP' is for testing purposes only.
  Mesh.cpp
..\..\..\lib\Kernel\Mesh.cpp(94): error C2143: syntax error : missing ';' before 'return' [C:\Users\Stringer\Code\XXXXXXX\kernel\lib\Kernel\kernel.vcxproj]
[Finished in 1.4s]
+4
source share
1 answer

This has nothing to do with MSBuild.exe. This is a C ++ compiler that does not provide column number information. He has no way to turn it on.

C ++. . . ++ (. # ), , .

, , .

Clang, , ++.

+5

Source: https://habr.com/ru/post/1526205/


All Articles