diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-11-03 15:51:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-11-03 18:17:51 +0100 |
commit | 8d95452f66c01187c4b05a30061300125042cf46 (patch) | |
tree | eb9400b337a1c5f823dd9e144dfdc890ad70ab5e /connectivity/Configuration_macab.mk | |
parent | 95e7a57df68c9d631bfce0460b44b9ed966cd5bd (diff) |
Avoid false -Werror=array-bounds
...with recent GCC 12 trunk,
> svx/source/unodraw/unoprov.cxx:904:28: error: array subscript 25 is above array bounds of ‘const SfxItemPropertyMapEntry* [25]’ [-Werror=array-bounds]
> 904 | if(!aMapArr[nPropertyId]) {
> | ~~~~~~~~~~~~~~~~~~~^
> In file included from svx/source/unodraw/shapeimpl.hxx:22,
> from svx/source/unodraw/unoprov.cxx:45:
> include/svx/unoprov.hxx:86:37: note: while referencing ‘SvxUnoPropertyMapProvider::aMapArr’
> 86 | SfxItemPropertyMapEntry const * aMapArr[SVXMAP_END];
> | ^~~~~~~
Change-Id: I60e5352aff0d0aed3056bc484fb1491626761051
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124655
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/Configuration_macab.mk')
0 files changed, 0 insertions, 0 deletions