Opened 10 days ago

Closed 10 days ago

#71289 closed defect (duplicate)

sox @14.4.2: error: incompatible function pointer types initializing 'sox_format_handler_seek' (aka 'int (*)(struct sox_format_t *, unsigned long)') with an expression of type 'int (sox_format_t *, uint64_t)' (aka 'int (struct sox_format_t *, unsigned long long)') [-Wincompatible-function-pointer-types]

Reported by: michaelarchambault1 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: sequoia Cc:
Port: sox

Description

error building on Mac OS Sequoia 15.1

Attachments (1)

main.log (188.6 KB) - added by michaelarchambault1 10 days ago.
log file

Download all attachments as: .zip

Change History (3)

Changed 10 days ago by michaelarchambault1

Attachment: main.log added

log file

comment:1 Changed 10 days ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sequoia added
Port: sox added
Summary: soxsox @14.4.2: error: incompatible function pointer types initializing 'sox_format_handler_seek' (aka 'int (*)(struct sox_format_t *, unsigned long)') with an expression of type 'int (sox_format_t *, uint64_t)' (aka 'int (struct sox_format_t *, unsigned long long)') [-Wincompatible-function-pointer-types]
Version: 2.10.4

The log says the problems so far are:

skelform.c:214:5: error: incompatible function pointer types initializing 'sox_format_handler_seek' (aka 'int (*)(struct sox_format_t *, unsigned long)') with an expression of type 'int (sox_format_t *, uint64_t)' (aka 'int (struct sox_format_t *, unsigned long long)') [-Wincompatible-function-pointer-types]
  214 |     seek, encodings, NULL, sizeof(priv_t)
      |     ^~~~
sox-fmt.c:103:5: error: incompatible function pointer types initializing 'sox_format_handler_seek' (aka 'int (*)(struct sox_format_t *, unsigned long)') with an expression of type 'int (sox_format_t *, uint64_t)' (aka 'int (struct sox_format_t *, unsigned long long)') [-Wincompatible-function-pointer-types]
  103 |     lsx_rawseek, write_encodings, NULL, 0
      |     ^~~~~~~~~~~

comment:2 Changed 10 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #70720.

Note: See TracTickets for help on using tickets.