Opened 16 months ago

Last modified 15 months ago

#66693 closed defect

t4k_common fails to build - implicit declaration of function 'u8_mbtouc_unsafe' — at Version 2

Reported by: programmingkidx Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: t4k_common

Description (last modified by jmroot (Joshua Root))

The t4k_common port fails to build. The log says this:

:info:build linebreak.c:163:19: error: implicit declaration of function 'u8_mbtouc_unsafe' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build       int count = u8_mbtouc_unsafe (&uc, s, s_end - s);
:info:build                   ^
:info:build linebreak.c:508:19: error: implicit declaration of function 'u8_mbtouc_unsafe' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build       int count = u8_mbtouc_unsafe (&uc, s, s_end - s);

I'm not familiar with the function but I did find this page that mentions it: http://manual.freeshell.org/libunistring/libunistring_4.html

Change History (3)

Changed 16 months ago by programmingkidx

Attachment: main.log added

comment:1 Changed 16 months ago by programmingkidx

I noticed this failure on Mac OS 12.3.1 running on an M1 MacBook Air.

comment:2 Changed 16 months ago by jmroot (Joshua Root)

Description: modified (diff)
Note: See TracTickets for help on using tickets.