diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-30 09:04:00 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-30 11:18:35 +0100 |
commit | cab4a0166a81749ba025be6e1ab39203bdee1e10 (patch) | |
tree | ff9cc59c081f7990995ab261ac4967dc1af0cfc4 /vcl/README.md | |
parent | 64ed0dcf6dbd9567ec33cd07ca8a15c63e86b9df (diff) |
workaround gcc bug #55776 about enum class shadowing a global
GCC warns that 'enum class XorMode { None }' shadows 'constexpr int
None = 0' for a workaround for X11 headers, even though there's
no case for confusion here. So instead of a workaround for X11
headers work this around by placing the enum first, and then GCC
does not complain.
Change-Id: I3e7cfaced957d47dee8cc4f10ee74e8dd97a5cc5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126083
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'vcl/README.md')
0 files changed, 0 insertions, 0 deletions