summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-07 20:55:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-07 20:55:25 (GMT)
commitb5bdf2cb0ae3bf3e655b76065050763b092d32f7 (patch)
tree567ae3a8f8c2c8b92769a57834b032bd9f031dd0 /Source/cmLocalVisualStudio6Generator.cxx
parent8f92e8c069dcb3cb943144864274ee75bad36c0d (diff)
downloadCMake-b5bdf2cb0ae3bf3e655b76065050763b092d32f7.zip
CMake-b5bdf2cb0ae3bf3e655b76065050763b092d32f7.tar.gz
CMake-b5bdf2cb0ae3bf3e655b76065050763b092d32f7.tar.bz2
ENH: add better error reporting for file open failures
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 0febe1b..beb5889 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -149,6 +149,7 @@ void cmLocalVisualStudio6Generator::CreateSingleDSP(const char *lname, cmTarget
if(!fout)
{
cmSystemTools::Error("Error Writing ", fname.c_str());
+ cmSystemTools::ReportLastSystemError("");
}
this->WriteDSPFile(fout,lname,target);
fout.close();