summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-06-13 19:42:06 (GMT)
committerGitHub <noreply@github.com>2019-06-13 19:42:06 (GMT)
commitb925eb42e8a63ad2334ac18e0c78d5dc997dbdc9 (patch)
tree3f24e6ce572172721303fed7f0351991a74890c2
parent890943c3df4986b5810f40160731a1f4ee30ef2e (diff)
parent261b6e85dd231edbc7b8b2710f7bd3263ae5367e (diff)
downloadDoxygen-b925eb42e8a63ad2334ac18e0c78d5dc997dbdc9.zip
Doxygen-b925eb42e8a63ad2334ac18e0c78d5dc997dbdc9.tar.gz
Doxygen-b925eb42e8a63ad2334ac18e0c78d5dc997dbdc9.tar.bz2
Merge pull request #7055 from albert-github/feature/bug_489766
Bug 489766 - Wrong MSC syntax rejected *silently*
-rw-r--r--src/dia.cpp2
-rw-r--r--src/htags.cpp4
-rw-r--r--src/msc.cpp4
3 files changed, 10 insertions, 0 deletions
diff --git a/src/dia.cpp b/src/dia.cpp
index 5adbc7c..8dab5b0 100644
--- a/src/dia.cpp
+++ b/src/dia.cpp
@@ -65,6 +65,8 @@ void writeDiaGraphFromFile(const char *inFile,const char *outDir,
portable_sysTimerStart();
if ((exitCode=portable_system(diaExe,diaArgs,FALSE))!=0)
{
+ err("Problems running %s. Check your installation or look typos in you dia file %s\n",
+ diaExe.data(),inFile);
portable_sysTimerStop();
goto error;
}
diff --git a/src/htags.cpp b/src/htags.cpp
index 7f5870d..51cd6d9 100644
--- a/src/htags.cpp
+++ b/src/htags.cpp
@@ -91,6 +91,10 @@ bool Htags::execute(const QCString &htmldir)
//printf("CommandLine=[%s]\n",commandLine.data());
portable_sysTimerStart();
bool result=portable_system("htags",commandLine,FALSE)==0;
+ if (!result)
+ {
+ err("Problems running %s. Check your installation\n", "htags");
+ }
portable_sysTimerStop();
QDir::setCurrent(oldDir);
return result;
diff --git a/src/msc.cpp b/src/msc.cpp
index 29f96ac..71d37c4 100644
--- a/src/msc.cpp
+++ b/src/msc.cpp
@@ -132,6 +132,8 @@ void writeMscGraphFromFile(const char *inFile,const char *outDir,
portable_sysTimerStart();
if ((exitCode=portable_system(mscExe,mscArgs,FALSE))!=0)
{
+ err("Problems running %s. Check your installation or look typos in you msc file %s\n",
+ mscExe.data(),inFile);
portable_sysTimerStop();
goto error;
}
@@ -178,6 +180,8 @@ QCString getMscImageMapFromFile(const QCString& inFile, const QCString& outDir,
portable_sysTimerStart();
if ((exitCode=portable_system(mscExe,mscArgs,FALSE))!=0)
{
+ err("Problems running %s (mapping phase). Check your installation or look typos in you msc file %s\n",
+ mscExe.data(),inFile.data());
portable_sysTimerStop();
QDir::setCurrent(oldDir);
return "";