aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-01-28 20:56:17 +0100
committerTom de Vries <tdevries@suse.de>2025-01-28 20:56:17 +0100
commit852cbc7ffadf9daf173e13ea56caff49d52733af (patch)
tree4e5e1f4cc02b6a4102d30e38f5b5cec9a35b4794 /gdb/source.c
parentae700d95c66340d7e1cfc6b2d72480caed929eb0 (diff)
downloadbinutils-852cbc7ffadf9daf173e13ea56caff49d52733af.zip
binutils-852cbc7ffadf9daf173e13ea56caff49d52733af.tar.gz
binutils-852cbc7ffadf9daf173e13ea56caff49d52733af.tar.bz2
[gdb/guile] Use SCM_DEBUG_TYPING_STRICTNESS 0
I build gdb with libguile v2.0.9, and ran into: ... In file included from /usr/include/guile/2.0/libguile.h:56, from ../../gdb/guile/guile-internal.h:30, from ../../gdb/guile/scm-arch.c:26: /usr/include/guile/2.0/libguile/inline.h: In function 'int scm_is_pair(SCM)': /usr/include/guile/2.0/libguile/tags.h:97:53: error: \ operation on '*0' may be undefined [-Werror=sequence-point] # define SCM_UNPACK(x) ((scm_t_bits) (0? (*(SCM*)0=(x)): x)) ~~~~~~~~~^~~~~ ... Fix this by using SCM_DEBUG_TYPING_STRICTNESS 0. We were already using this for c++20 due to a Werror=volatile in SCM_UNPACK when using libguile v2.0.10. Tested on x86_64-linux. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions