diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-18 10:46:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-18 11:42:14 +0200 |
commit | 2c6cea672a852b85cfb6d2e313d806f257481417 (patch) | |
tree | a08212d3478755e580ecf45d7da4881297b1f70e /cppu/util/cppu.map | |
parent | 41a967af06a9584a997e11079c3c931d34158c09 (diff) |
Work around bogus -Werror=attributes with old GCC
...after 9c3c6a6b661ea8f84c1285b07a502de5c98a1495 "Replace OFFSET_OF macro with
a function template", as seen at
<https://ci.libreoffice.org//job/lo_tb_master_linux_dbg/38076/>,
> /home/tdf/lode/jenkins/workspace/lo_tb_master_linux_dbg/cppu/source/uno/check.cxx:263:28: error: ‘maybe_unused’ attribute ignored [-Werror=attributes]
> [[maybe_unused]] Char3 chars;
> ^~~~~
(Not sure which versions of GCC are affected exactly; lets restrict this to
GCC 7 for now.)
Change-Id: I28ec8914b60c98dce769ad40ef4141aec4960aa3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134509
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cppu/util/cppu.map')
0 files changed, 0 insertions, 0 deletions