#66693 closed defect (fixed)

t4k_common fails to build - implicit declaration of function 'u8_mbtouc_unsafe'

Reported by: programmingkidx Owned by: ryandesign (Ryan Carsten Schmidt)
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

Attachments (1)

main.log (109.5 KB) - added by programmingkidx 16 months ago.

Download all attachments as: .zip

Change History (4)

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)

comment:3 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 3dc0f189db4438b39f60d45bc477f2ed2834e7da/macports-ports (master):

t4k_common: Fix implicit declaration of function

Closes: #66693

Note: See TracTickets for help on using tickets.