[MacPorts] #61118: doxbox-x: fails 32bit build error: no matching function for call to 'CGGetDisplaysWithPoint'

MacPorts noreply at macports.org
Thu Sep 3 01:33:49 UTC 2020


#61118: doxbox-x: fails 32bit build  error: no matching function for call to
'CGGetDisplaysWithPoint'
--------------------+----------------------
 Reporter:  kencu   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  dosbox-x
--------------------+----------------------
 [https://build.macports.org/builders/ports-10.6_i386-builder/builds/17003/steps
 /install-port/logs/stdio
 https://build.macports.org/builders/ports-10.6_i386-builder/builds/17003/steps
 /install-port/logs/stdio]

 {{{
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I. -I../..  -I../../include
 -I../../src/aviwriter "-DRESDIR=\"\"" -I../../src -I../../src/mt32 -Wno-
 int-to-void-pointer-cast   -Wno-address-of-packed-member   -Wno-format-
 zero-length   -Wno-missing-field-initializers   -Wno-strict-aliasing
 -Wno-implicit-fallthrough   -Wno-deprecated-declarations   -Wconversion-
 null   -Wsign-promo   -Wlogical-op   -pedantic   -Wunused   -Wextra
 -Wall  -I/opt/local/include -I/opt/local/include/LegacySupport
 -I/usr/local/include -I/opt/local/include/SDL2 -D_THREAD_SAFE
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_dosbox-x/dosbox-x/work/dosbox-x-0.83.5/vs2015/sdlnet
 /linux-host/include
 -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_dosbox-x/dosbox-x/work/dosbox-x-0.83.5/vs2015/sdlnet
 /linux-host/include/SDL -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16   -pipe -Os -Wno-unknown-warning-option
 -stdlib=libc++ -arch i386 -std=gnu++11 -MT menu_osx.o -MD -MP -MF
 $depbase.Tpo -c -o menu_osx.o menu_osx.mm &&\
         mv -f $depbase.Tpo $depbase.Po
 menu_osx.mm:531:15: error: no matching function for call to
 'CGGetDisplaysWithPoint'
         err = CGGetDisplaysWithPoint(pt,1,&did,&cnt);
               ^~~~~~~~~~~~~~~~~~~~~~
 }}}

 I believe it needs an explicit NSPointToCGPoint conversion to make this
 work. Will try on a 32bit machine (or a universal build).

-- 
Ticket URL: <https://trac.macports.org/ticket/61118>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list