Created attachment 875010 [details] build log lt-tag.c:103:65: error: 'free' undeclared (first use in this function) 103 | lt_mem_add_ref(&retval->parent, retval->string, free); | ^~~~ lt-tag.c:103:65: note: 'free' is defined in header '<stdlib.h>'; did you forget to '#include <stdlib.h>'? lt-tag.c:103:65: note: each undeclared identifier is reported only once for each function it appears in
One can add this missing header in two .c files, but that ends up with: > * QA Notice: Package triggers severe warnings which indicate that it > * may exhibit random runtime failures. > * lt-grandfathered-db.c:155:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-grandfathered-db.c:200:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] > * lt-grandfathered-db.c:205:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-grandfathered-db.c:311:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-extlang-db.c:187:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-extlang-db.c:236:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] > * lt-extlang-db.c:241:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-extlang-db.c:347:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-lang-db.c:190:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-lang-db.c:241:18: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] > * lt-lang-db.c:246:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-lang-db.c:351:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:90:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:600:45: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:725:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:789:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:1213:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:1230:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:1296:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:1507:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:1536:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:2032:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:2042:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:2321:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-tag.c:2426:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-xml.c:415:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-xml.c:418:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-ext-ldml-u.c:163:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-ext-ldml-t.c:138:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-ext-ldml-u.c:404:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * lt-ext-ldml-t.c:395:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] > * reg2xml.c:177:57: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] > * reg2xml.c:186:41: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
*** Bug 917533 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=189edc361ad0b191cec80d111ccab58ad33ee990 commit 189edc361ad0b191cec80d111ccab58ad33ee990 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-11-24 19:27:40 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-11-24 19:28:11 +0000 app-text/liblangtag: add 0.6.5 Closes: https://bugs.gentoo.org/917524 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-text/liblangtag/Manifest | 1 + app-text/liblangtag/liblangtag-0.6.5.ebuild | 55 +++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+)