[MacPorts] #71289: 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] (was: sox)

MacPorts noreply at macports.org
Tue Nov 12 02:35:05 UTC 2024


#71289: 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]
----------------------------------+---------------------
  Reporter:  michaelarchambault1  |      Owner:  (none)
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.10.4
Resolution:                       |   Keywords:  sequoia
      Port:  sox                  |
----------------------------------+---------------------
Changes (by ryandesign):

 * keywords:   => sequoia
 * version:   => 2.10.4
 * port:   => sox


Comment:

 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
       |     ^~~~~~~~~~~
 }}}

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


More information about the macports-tickets mailing list