<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=3057851" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jcarrano">@jcarrano</a> <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=675644" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miri64">@miri64</a></p>
<p>I investigated the <code>multiple use of section label</code> in doxygen 1.8.15 a bit more since we should expect that it will become the standard version in upcoming Linux distros.</p>
<p>It seems to be a bug, maybe related to <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="377903014" data-permission-text="Issue title is private" data-url="https://github.com/doxygen/doxygen/issues/6605" data-hovercard-type="issue" data-hovercard-url="/doxygen/doxygen/issues/6605/hovercard" href="https://github.com/doxygen/doxygen/issues/6605">doxygen/doxygen#6605</a>. But he is claiming in his bug report that the problem was not present in version 1.8.6. And, indeed there was a <a href="https://stackoverflow.com/questions/31118585/doxygen-multiple-use-of-section-label-bug" rel="nofollow">problem in 1.8.7 </a> which was fixed in 1.8.8.</p>
<p>I have used the very small test file together with doxygen-1.8.15 and the standard Doxyfile:</p>
<div class="highlight highlight-source-lisp"><pre>Main Page                                                           {<span class="pl-c1">#mainpage</span>}
=========

Section <span class="pl-c1">1</span>                                                           {<span class="pl-c1">#section1</span>}
=========
Test text for Section <span class="pl-c1">1</span> 

Section <span class="pl-c1">2</span>                                                           {<span class="pl-c1">#section2</span>}
=========
Test text for Section <span class="pl-c1">2</span></pre></div>
<p>It throws exactly the same warnings.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/10808#issuecomment-455489207">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YJ4s-chXkHbGLpQw50JNjQasWEEWks5vEZlJgaJpZM4aGU4T">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YAYAYjIyZ3ay1bfn3lLxx3sFUAstks5vEZlJgaJpZM4aGU4T.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gschorcht in #10808: @jcarrano @miri64 \r\n\r\nI investigated the `multiple use of section label` in doxygen 1.8.15 a bit more since we should expect that it will become the standard version in upcoming Linux distros.\r\n\r\nIt seems to be a bug, maybe related to https://github.com/doxygen/doxygen/issues/6605. But he is claiming in his bug report that the problem was not present in version 1.8.6. And, indeed there was a [problem in 1.8.7 ](https://stackoverflow.com/questions/31118585/doxygen-multiple-use-of-section-label-bug) which was fixed in 1.8.8.\r\n\r\nI have used the very small test file together with doxygen-1.8.15 and the standard Doxyfile:\r\n```md\r\nMain Page                                                           {#mainpage}\r\n=========\r\n\r\nSection 1                                                           {#section1}\r\n=========\r\nTest text for Section 1 \r\n\r\nSection 2                                                           {#section2}\r\n=========\r\nTest text for Section 2\r\n```\r\nIt throws exactly the same warnings."}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/10808#issuecomment-455489207"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/10808#issuecomment-455489207",
"url": "https://github.com/RIOT-OS/RIOT/pull/10808#issuecomment-455489207",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>