Opened 3 months ago

Last modified 3 months ago

#70210 closed defect

uni2ascii @ 4.18: implicit int used with ISO C99+ — at Initial Version

Reported by: kippesp (Paul Kippes) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: haspatch Cc:
Port: uni2ascii

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.

Change History (2)

Changed 3 months ago by kippesp (Paul Kippes)

Complete port patch

Changed 3 months ago by kippesp (Paul Kippes)

Attachment: uni2ascii-main.log added

Issue file only patch

Note: See TracTickets for help on using tickets.