diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-05-19 12:11:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-05-19 12:11:23 (GMT) |
commit | 55e5055cfbb6f8e013a894c0ec8b10771231e3ba (patch) | |
tree | 58d7a64919b99cc76fdc7120ae5d0407f3163a67 /src/filedef.cpp | |
parent | 44ca9512aaeb19f7fbd07afda88ec4cfe53ce831 (diff) | |
download | Doxygen-55e5055cfbb6f8e013a894c0ec8b10771231e3ba.zip Doxygen-55e5055cfbb6f8e013a894c0ec8b10771231e3ba.tar.gz Doxygen-55e5055cfbb6f8e013a894c0ec8b10771231e3ba.tar.bz2 |
Release-1.8.1
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 12a1ce8..c0aa4cf 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -49,7 +49,7 @@ class DevNullCodeDocInterface : public CodeOutputInterface const char *) {} virtual void writeLineNumber(const char *,const char *, const char *,int) {} - virtual void startCodeLine() {} + virtual void startCodeLine(bool) {} virtual void endCodeLine() {} virtual void startCodeAnchor(const char *) {} virtual void endCodeAnchor() {} @@ -341,7 +341,11 @@ void FileDef::writeIncludeGraph(OutputList &ol) { //printf("Graph for file %s\n",name().data()); DotInclDepGraph incDepGraph(this,FALSE); - if (!incDepGraph.isTrivial() && !incDepGraph.isTooBig()) + if (incDepGraph.isTooBig()) + { + err("warning: Include graph for '%s' not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.\n",name().data()); + } + else if (!incDepGraph.isTrivial()) { ol.startTextBlock(); ol.disable(OutputGenerator::Man); @@ -361,7 +365,11 @@ void FileDef::writeIncludedByGraph(OutputList &ol) { //printf("Graph for file %s\n",name().data()); DotInclDepGraph incDepGraph(this,TRUE); - if (!incDepGraph.isTrivial() && !incDepGraph.isTooBig()) + if (incDepGraph.isTooBig()) + { + err("warning: Included by graph for '%s' not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.\n",name().data()); + } + if (!incDepGraph.isTrivial()) { ol.startTextBlock(); ol.disable(OutputGenerator::Man); |