[MacPorts] #66693: t4k_common fails to build - implicit declaration of function 'u8_mbtouc_unsafe'

MacPorts noreply at macports.org
Sat Jan 14 03:18:18 UTC 2023


#66693: t4k_common fails to build - implicit declaration of function
'u8_mbtouc_unsafe'
-----------------------------+------------------------
 Reporter:  programmingkidx  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:
 Keywords:                   |       Port:  t4k_common
-----------------------------+------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/66693>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list