[MacPorts] #71087: umem @1.0.1: error: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion] (was: umem @1.0.1: Build failure)

MacPorts noreply at macports.org
Fri Oct 11 14:11:58 UTC 2024


#71087: umem @1.0.1: error: incompatible pointer to integer conversion assigning to
'int' from 'void *' [-Wint-conversion]
-------------------------+---------------------
  Reporter:  vitaligedz  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.2
Resolution:              |   Keywords:  sequoia
      Port:  umem        |
-------------------------+---------------------
Changes (by ryandesign):

 * version:   => 2.10.2


Comment:

 Ok, the log says:

 {{{
 :info:build vmem_sbrk.c:137:14: error: incompatible pointer to integer
 conversion assigning to 'int' from 'void *' [-Wint-conversion]
 :info:build   137 |   brk_result = brk((void *)new_brk);
 :info:build       |              ^ ~~~~~~~~~~~~~~~~~~~~
 :info:build 2 warnings and 1 error generated.
 }}}

 Incompatible pointer to integer conversions are a new error in the version
 of clang in Xcode 16.

 Unfortunately, [https://github.com/omniti-
 labs/portableumem/issues/3#issuecomment-893077918 the developers of umem
 no longer exist] so they won't help us with this. (Nevertheless the
 problem should be reported in their issue tracker.)

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


More information about the macports-tickets mailing list