[MacPorts] #62641: legacy-support: warning: '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__' is not defined, evaluates to 0

MacPorts noreply at macports.org
Tue Apr 6 09:58:05 UTC 2021


#62641: legacy-support: warning: '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__'
is not defined, evaluates to 0
------------------------+----------------------------
 Reporter:  ryandesign  |      Owner:  cjones051073
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:              |       Port:  legacy-support
------------------------+----------------------------
 Lots of warnings appear when
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/139569/steps
 /install-port/logs/stdio building qemu with legacy support]:

 {{{
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:58:
 In file included from /opt/local/include/LegacySupport/stdlib.h:23:
 In file included from
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:24:
 /opt/local/include/LegacySupport/MacportsLegacyWrappers/wrapper_macros.h:27:6:
 warning: '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__' is not defined,
 evaluates to 0 [-Wundef]
 #if !__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__
      ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:58:
 /opt/local/include/LegacySupport/stdlib.h:26:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__' is not defined,
 evaluates to 0 [-Wundef]
 #if __ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__
     ^
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:100:55: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__'
 #define __ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__
 (!__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__  && \
                                                       ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:58:
 /opt/local/include/LegacySupport/stdlib.h:26:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__' is not defined, evaluates to
 0 [-Wundef]
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:101:13: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__'
 !__DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__      && \
                                                       ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:58:
 /opt/local/include/LegacySupport/stdlib.h:38:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__' is not defined,
 evaluates to 0 [-Wundef]
 #if __ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__
     ^
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:100:55: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__'
 #define __ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__
 (!__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__  && \
                                                       ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:58:
 /opt/local/include/LegacySupport/stdlib.h:38:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__' is not defined, evaluates to
 0 [-Wundef]
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:101:13: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__'
 !__DISABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__      && \
                                                       ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:93:
 /opt/local/include/LegacySupport/unistd.h:84:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__' is not defined,
 evaluates to 0 [-Wundef]
 #if __ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__
     ^
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:120:54: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__'
 #define __ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__
 (!__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__  && \
                                                      ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:93:
 /opt/local/include/LegacySupport/unistd.h:84:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__' is not defined, evaluates to
 0 [-Wundef]
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:121:12: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__'
 !__DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__       && \
                                                      ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:93:
 /opt/local/include/LegacySupport/unistd.h:94:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__' is not defined,
 evaluates to 0 [-Wundef]
 #if __ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__
     ^
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:120:54: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__'
 #define __ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__
 (!__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__  && \
                                                      ^
 In file included from ../qemu-5.2.0/ui/cocoa.m:25:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_emulators_qemu/qemu/work/qemu-5.2.0/include/qemu/osdep.h:93:
 /opt/local/include/LegacySupport/unistd.h:94:5: warning:
 '__DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__' is not defined, evaluates to
 0 [-Wundef]
 /opt/local/include/LegacySupport/MacportsLegacySupport.h:121:12: note:
 expanded from macro '__ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__'
 !__DISABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__       && \
                                                      ^
 }}}

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


More information about the macports-tickets mailing list