VirtualBox

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/HostDrivers/Support/darwin/SUPLib-darwin.cpp

    r100097 r100108  
    145145     */
    146146    mach_port_t MasterPort;
    147     kern_return_t kr = IOMasterPort(MACH_PORT_NULL, &MasterPort);
     147    RT_GCC_NO_WARN_DEPRECATED_BEGIN
     148    kern_return_t kr = IOMasterPort(MACH_PORT_NULL, &MasterPort); /* Deprecated since 12.0. */
     149    RT_GCC_NO_WARN_DEPRECATED_END
    148150    if (kr != kIOReturnSuccess)
    149151    {
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