How to force absolute paths for build errors output in Visual Studio
问题 When building in most Visual Studio (2008, but I doubt it matters) projects, if there is error, it lists the absolute path of the file with the error. Like this (ignore the specific errors--I added them intentionally): 1>dope_external.cpp 1>c:\users\me\dope_external.cpp(4) : error C2144: syntax error : 'void' should be preceded by ';' 1>c:\users\me\dope_external.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>Generating Code... However, the