summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-06-13 13:33:40 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-06-13 13:33:40 (GMT)
commitfabc36878377119b13bb5b20dff0026d8dd350a5 (patch)
tree945615600f78390ee7f487df1ab5be18d78b9d30
parent527fa741a67b9bc34ef315ff0ff6f96bae726497 (diff)
downloadDoxygen-fabc36878377119b13bb5b20dff0026d8dd350a5.zip
Doxygen-fabc36878377119b13bb5b20dff0026d8dd350a5.tar.gz
Doxygen-fabc36878377119b13bb5b20dff0026d8dd350a5.tar.bz2
Bug 489766 - Wrong MSC syntax rejected *silently*
In case of an error at least a message (consistency) should be given (besides msc also for dia and htags).
-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..eb75fe1 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);
portable_sysTimerStop();
QDir::setCurrent(oldDir);
return "";