Code polishing, continuing cb23999fbf

Add more error messages to processes run for toolchain detection.
Move Windows-specific code to dbgwinutils, remove inclusion of
<windows.h>. Fix MinGW gcc 4.5 warnings.
This commit is contained in:
Friedemann Kleint
2010-09-09 09:58:17 +02:00
parent f63b316728
commit 97e7c12e3c
12 changed files with 141 additions and 61 deletions

View File

@@ -452,8 +452,7 @@ void MaemoDeployStep::setupMount()
} else {
#ifdef Q_OS_WIN
bool drivesToMount[26];
for (int i = 0; i < sizeof drivesToMount / sizeof drivesToMount[0]; ++i)
drivesToMount[i] = false;
qFill(drivesToMount, drivesToMount + sizeof drivesToMount / sizeof drivesToMount[0], false);
for (int i = 0; i < m_filesToCopy.count(); ++i) {
const QString localDir
= QFileInfo(m_filesToCopy.at(i).localFilePath).canonicalPath();