aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/eventloopinteractor.cpp
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-08-13 05:52:03 +0000
committerNIIBE Yutaka <[email protected]>2021-08-13 05:52:03 +0000
commit3c1c98a43413e429459ca7d3615659f8149534b8 (patch)
tree2f05ddd18a00d563e783b2c5e53acdb3354b4eea /lang/cpp/src/eventloopinteractor.cpp
parentcore: Fix results returned by gpgme_data_* functions (diff)
downloadgpgme-3c1c98a43413e429459ca7d3615659f8149534b8.tar.gz
gpgme-3c1c98a43413e429459ca7d3615659f8149534b8.zip
core: Use flexible array member if compiler has support.
* configure.ac (AC_C_FLEXIBLE_ARRAY_MEMBER): Add. * src/engine-gpg.c (struct arg_and_data_s): Use FLEXIBLE_ARRAY_MEMBER. (_add_arg): Use offsetof instead of sizeof. (add_data): Likewise. -- Before this fix, GCC 11 warns (with its bound checking feature). Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'lang/cpp/src/eventloopinteractor.cpp')
0 files changed, 0 insertions, 0 deletions