<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - cyclic includes in UNO headers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111081">111081</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cyclic includes in UNO headers
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>sdk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>j.nitschke+tdfbz@ok.de
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>42949
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For example the file
$workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/frame/XFrame.hpp
has an
<span class="quote">> #include "com/sun/star/frame/XFrame.hpp"</span >

Normally this is no issue because of the #ifndef include guards. But when you
try to analyse the includes with iwyu (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - accelerating compile times by removing unnecessary header #include"
   href="show_bug.cgi?id=42949">Bug 42949</a>) it stops because of the
cyclic include.

<span class="quote">> Cycle in include-mapping:
>   "com/sun/star/frame/XFrame.hpp" ->
>   "com/sun/star/frame/XFrame.hpp"
> /build/iwyu-qvr6nD/iwyu-3.9/iwyu_include_picker.cc:844: Assertion failed: Cycle in include-mapping
> Aborted (core dumped)</span >

According to codemaker README, cppumaker generates those .hpp files. Help from
someone with knowledge of cppumaker code is very welcome.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - accelerating compile times by removing unnecessary header #include"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=42949">Bug 42949</a>] accelerating compile times by removing unnecessary header #include
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>