VirtualBox

Changeset 100108 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Jun 7, 2023 8:05:13 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157801
Message:

*: Fix build issues when setting VBOX_WITH_WARNINGS_AS_ERRORS=1 on darwin.arm64 and make it a default, bugref:10469

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvHostBase-darwin.cpp

    r98103 r100108  
    524524     * Open the master port on the first invocation.
    525525     */
    526     kern_return_t krc = IOMasterPort(MACH_PORT_NULL, &pThis->Os.MasterPort);
     526    RT_GCC_NO_WARN_DEPRECATED_BEGIN
     527    kern_return_t krc = IOMasterPort(MACH_PORT_NULL, &pThis->Os.MasterPort); /* Deprecated since 12.0. */
     528    RT_GCC_NO_WARN_DEPRECATED_END
    527529    AssertReturn(krc == KERN_SUCCESS, VERR_GENERAL_FAILURE);
    528530
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette