]> git.ipfire.org Git - thirdparty/gcc.git/commit
libbacktrace: avoid -Wpointer-arith errors
authorIan Lance Taylor <iant@golang.org>
Mon, 5 Aug 2024 23:46:03 +0000 (16:46 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 5 Aug 2024 23:46:03 +0000 (16:46 -0700)
commit3a51aaf5f4ccd3d2ed871727c16f9c6f9ed54e50
tree8744adeeaa7ae617744275fbca92a4d17106de89
parentecb6153e3b9895c6e058646262c7c9e9c9c24a3c
libbacktrace: avoid -Wpointer-arith errors

Based on patch from Kirill Müller.

* configure.ac (ACX_PROG_CC_WARNING_OPTS): Add -Wpointer-arith.
* pecoff.c (coff_add): Cast void pointers.
* xcoff.c (xcoff_add): Likewise.
* configure: Regenerate.
libbacktrace/configure
libbacktrace/configure.ac
libbacktrace/pecoff.c
libbacktrace/xcoff.c