[Libreoffice-bugs] [Bug 124176] Use pragma once instead of include guards

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 18 14:37:05 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=124176

--- Comment #132 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
(In reply to Stephan Bergmann from comment #112)
> Just a heads up, seeing that this appears to get cleaned up systematically
> now:  There are some source files containing include guards that are meant
> to (also) be processed by compilers other than LO's build baseline compilers:
> 
> * All URE include files, see the (generated via
> odk/CustomTarget_allheaders.mk)
> workdir/CustomTarget/odk/allheaders/allheaders.hxx for a complete list.
> 
> * Anything under odk/examples/.
> 
> For those source files, it is probably better to conservatively stick with
> include guards than to replace them with #pragma once.

I was wondering how to generate allheaders.hxx and Jan-Marek helped me:

make odk.check

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201018/8156f7be/attachment.htm>


More information about the Libreoffice-bugs mailing list