kinook
07-01-2004, 10:33 AM
The attached sample demonstrates how to cause VC7.0/7.1 to output full paths for compile errors (rather than just the filename) when building:
c:\Temp\junk\VSNET\CPPApp\Form1.cpp(12) : error C2653: 'sys' : is not a class or namespace name
rather than this:
Form1.cpp(12) : error C2653: 'sys' : is not a class or namespace name
This provides more info in the build log, and also allows easy navigation to the error from the Output Pane by right-clicking on the error line and choosing View or by navigating to the error line and typing Ctrl+W.
c:\Temp\junk\VSNET\CPPApp\Form1.cpp(12) : error C2653: 'sys' : is not a class or namespace name
rather than this:
Form1.cpp(12) : error C2653: 'sys' : is not a class or namespace name
This provides more info in the build log, and also allows easy navigation to the error from the Output Pane by right-clicking on the error line and choosing View or by navigating to the error line and typing Ctrl+W.