[Bug 281236] lang/clisp: Fails to build with GCC 14: error: passing argument 2 of 'db->stat' from incompatible pointer type [-Wincompatible-pointer-types]
Date: Tue, 03 Sep 2024 13:28:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281236 Bug ID: 281236 Summary: lang/clisp: Fails to build with GCC 14: error: passing argument 2 of 'db->stat' from incompatible pointer type [-Wincompatible-pointer-types] Product: Ports & Packages Version: Latest Hardware: Any URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d efault-foo/2024-08-29_19h57m48s/logs/errors/clisp-2.49 .93+_7.log OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org Blocks: 281091 Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:1519:44: error: passing argument 2 of 'db->stat' from incompatible pointer type [-Wincompatible-pointer-types] 1519 | # define DB_STAT(s) SYSCALL(db->stat,(db,&s,flags)); | ^ | | | DB_HASH_STAT ** {aka struct __db_h_stat **} /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:279:223: note: in definition of macro 'SYSCALL1' 279 | } while(0) | ^ /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:1519:23: note: in expansion of macro 'SYSCALL' 1519 | # define DB_STAT(s) SYSCALL(db->stat,(db,&s,flags)); | ^~~~~~~ /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:1534:7: note: in expansion of macro 'DB_STAT' 1534 | DB_STAT(hash_stat); Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29_19h57m48s/logs/errors/clisp-2.49.93+_7.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Maintainer informed via mail Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281091 [Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc. -- You are receiving this mail because: You are the assignee for the bug.