This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug guile/21104] 7.12.1 does not compile with latest guile (2.1.6)


https://sourceware.org/bugzilla/show_bug.cgi?id=21104

Anatol Pomozov <anatol.pomozov at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anatol.pomozov at gmail dot com

--- Comment #1 from Anatol Pomozov <anatol.pomozov at gmail dot com> ---
I confirm that the issue exists at Arch Linux if I try to compile gdb with
guile 2.2

./guile/scm-ports.c:1097:41: error: invalid use of incomplete type ‘scm_t_port
{aka struct scm_t_port}’
       pt->write_end = pt->write_buf + pt->write_buf_size;
                                         ^~
In file included from /usr/include/guile/2.2/libguile/fports.h:28:0,
                 from /usr/include/guile/2.2/libguile.h:57,
                 from ./guile/guile-internal.h:29,
                 from ./guile/scm-ports.c:28:
/usr/include/guile/2.2/libguile/ports.h:82:16: note: forward declaration of
‘scm_t_port {aka struct scm_t_port}’
 typedef struct scm_t_port scm_t_port;
                ^~~~~~~~~~
make[2]: *** [Makefile:2537: scm-ports.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/avr-gdb/src/gdb-7.12.1/gdb'
make[1]: *** [Makefile:9161: all-gdb] Error 2
make[1]: Leaving directory '/build/avr-gdb/src/gdb-7.12.1'
make: *** [Makefile:850: all] Error 2


Do you plan to port gdb to the new guile API? Is there a workaround that can we
use to prevent this compilation issue?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]