summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-09-13 14:39:00 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-09-13 14:39:00 (GMT)
commita445ecc48e8152848e78fa2f167a556f0cac5616 (patch)
tree2d9e085281e638b013142903012af75de546a453 /src/doxygen.cpp
parent4fbb61f020a607a96152ba5c00668b9840ea812c (diff)
downloadDoxygen-a445ecc48e8152848e78fa2f167a556f0cac5616.zip
Doxygen-a445ecc48e8152848e78fa2f167a556f0cac5616.tar.gz
Doxygen-a445ecc48e8152848e78fa2f167a556f0cac5616.tar.bz2
Warning with xrefitem from documentation
The example code with the `xrefitem` in the documentation gives a warning: ``` my_errors:1: warning: multiple use of page label 'my_errors', (other occurrence: .../aa.h, line: 4) ``` it is possible (and explicitly stated) to have an `\page` with the same name giving some extra information. The warning regarding the multiple page is removed in case of a xrefitem page.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index f8e54de..c15eddd 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -599,10 +599,12 @@ static void addRelatedPage(Entry *root)
{
doc=root->brief+"\n\n"+root->doc+root->inbodyDocs;
}
+
PageDef *pd = addRelatedPage(root->name,root->args,doc,root->anchors,
root->docFile,root->docLine,
root->sli,
gd,root->tagInfo,
+ FALSE,
root->lang
);
if (pd)