View Single Post
  #1  
Old 07-01-2004, 10:33 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
How can I get full paths in error messages when building VC7/7.1 projects?

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.
Attached Files
File Type: bld vc7errorpaths.bld (1.5 KB, 2833 views)
Reply With Quote