Opened 3 years ago

Last modified 3 years ago

#62641 assigned defect

legacy-support: warning: '__DISABLE_MP_LEGACY_SUPPORT_FUNCTION_WRAPPING__' is not defined, evaluates to 0

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: legacy-support

Description

Lots of warnings appear when 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__       && \
                                                     ^

Change History (5)

comment:1 Changed 3 years ago by kencu (Ken)

yes. I have a fix for this ready to push.

comment:2 Changed 3 years ago by kencu (Ken)

Owner: changed from cjones051073 to kencu
Status: assignedaccepted

comment:3 Changed 3 years ago by kencu (Ken)

Cc: cjones051073 added; kencu removed

comment:4 Changed 3 years ago by kencu (Ken)

Cc: cjones051073 removed
Owner: changed from kencu to cjones051073
Status: acceptedassigned

comment:5 Changed 3 years ago by cjones051073 (Chris Jones)

Ken, why have you assigned this to me ? Was the fix you mentioned 6 months ago pushed ?

Note: See TracTickets for help on using tickets.