[MacPorts] #70210: uni2ascii @ 4.18: implicit int used with ISO C99+

MacPorts noreply at macports.org
Wed Jun 12 17:47:38 UTC 2024


#70210: uni2ascii @ 4.18: implicit int used with ISO C99+
----------------------+-----------------------
 Reporter:  kippesp   |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.9.3
 Keywords:  haspatch  |       Port:  uni2ascii
----------------------+-----------------------
 uni2ascii fails with CLTools v15.3.0.0.1.1708646388, Apple clang 15.0.0.
 Error during compilation is

 {{{
 :info:build uni2ascii.c:2682:1: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build SubstituteChar(UTF32 c) {
 :info:build ^
 :info:build int
 :info:build uni2ascii.c:2696:1: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build AddCustomSubstitution(char *str){
 :info:build ^
 :info:build int
 }}}

 Patch is attached to provide proper types for file-local functions.

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


More information about the macports-tickets mailing list