Opened 5 months ago

Closed 5 months ago

#70210 closed defect (fixed)

uni2ascii @4.18: implicit int used with ISO C99+

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

Description (last modified by kippesp (Paul Kippes))

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

Attachments (2)

0001-Fix-implicit-int-ISO-C99-erro.patch (1.8 KB) - added by kippesp (Paul Kippes) 5 months ago.
Complete port patch
uni2ascii-main.log (39.7 KB) - added by kippesp (Paul Kippes) 5 months ago.
Issue file only patch

Download all attachments as: .zip

Change History (7)

Changed 5 months ago by kippesp (Paul Kippes)

Complete port patch

Changed 5 months ago by kippesp (Paul Kippes)

Attachment: uni2ascii-main.log added

Issue file only patch

comment:1 Changed 5 months ago by kippesp (Paul Kippes)

Description: modified (diff)

comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: uni2ascii @ 4.18: implicit int used with ISO C99+uni2ascii @4.18: implicit int used with ISO C99+

Have you already reported this to the developer? If not, please do. His contact information is on his web site.

comment:3 Changed 5 months ago by kippesp (Paul Kippes)

Yes, after your question, I have sent Mr. Poser an email along with recommended patch.

comment:4 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Thanks!

comment:5 Changed 5 months ago by kippesp (Paul Kippes)

Owner: set to kippesp
Resolution: fixed
Status: newclosed

In 2c5cbf23fb1850adf2a2cc67d5b3b404db1808c0/macports-ports (master):

uni2ascii: Fix implicit int errors

Closes: #70210

Co-authored-by: Ryan Carsten Schmidt <ryandesign@…>

Note: See TracTickets for help on using tickets.