diff options
author | albert-github <albert.tests@gmail.com> | 2019-06-13 13:33:40 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-06-13 13:33:40 (GMT) |
commit | fabc36878377119b13bb5b20dff0026d8dd350a5 (patch) | |
tree | 945615600f78390ee7f487df1ab5be18d78b9d30 /src/msc.cpp | |
parent | 527fa741a67b9bc34ef315ff0ff6f96bae726497 (diff) | |
download | Doxygen-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).
Diffstat (limited to 'src/msc.cpp')
-rw-r--r-- | src/msc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 ""; |