https://bugs.documentfoundation.org/show_bug.cgi?id=111081
Bug ID: 111081
Summary: cyclic includes in UNO headers
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
Blocks: 42949
For example the file
$workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/frame/XFrame.hpp
has an
> #include "com/sun/star/frame/XFrame.hpp"
Normally this is no issue because of the #ifndef include guards. But when you
try to analyse the includes with iwyu (Bug 42949) it stops because of the
cyclic include.
> 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)
According to codemaker README, cppumaker generates those .hpp files. Help from
someone with knowledge of cppumaker code is very welcome.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=42949
[Bug 42949] accelerating compile times by removing unnecessary header #include
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs