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

MacPorts noreply at macports.org
Wed Jun 12 17:50:07 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
Resolution:             |   Keywords:  haspatch
      Port:  uni2ascii  |
------------------------+----------------------
Description changed by kippesp:

Old description:

> 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.

New description:

 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.  Full
 log file attached as "uni2ascii-main.log".

--

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


More information about the macports-tickets mailing list