Skip to content

Fix pointer type mismatch in BDB:TXN-RECOVER

Jerry James requested to merge loganjerry/clisp:master into master

The GCC developers are proposing to make GCC 14 stricter with respect to things like implicit function return types, implicit function declarations, and pointer type mismatches. The Fedora project has begun testing packages for compatibility with these changes. See:

The clisp package build fails due to a pointer type mismatch in the berkeley-db code. In BDB:TXN-RECOVER, a variable retnum is declared as follows:

u_int32_t retnum;

The address of retnum is passed as the 4th argument to dbe->txn_recover, but its 4th argument is declared to have type long *. This patch makes the pointer types match.

Merge request reports