Android手机通过USB共享网络给Mac电脑教程
https://www.hangge.com/blog/cache/detail_3069.html
https://github.com/jwise/HoRNDIS/issues/146
https://www.jianshu.com/p/284cde739af1
https://apps.apple.com/us/app/xcode/id497799835?mt=12
需要下载的xcode的版本:
运行:
xcodebuild -sdk macosx -configuration Release
的时候,
出现了这个错误:
panliuwei@panliuweideiMac HoRNDIS % xcodebuild -sdk macosx -configuration Release
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
解决办法:
https://github.com/nodejs/node-gyp/issues/569
This fixed it for me:
- Install Xcode
- Run
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
See this explanation on SO.
查看finder安装到哪里去了?
答:进入Finder里的applications。然后对着Xcode右键Show Package Contents。就可以看到了
输入命令过程:
Last login: Sat Sep 17 10:37:33 on console panliuwei@panliuweideiMac ~ % git clone --recursive https://github.com/jwise/HoRNDIS.git xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools. panliuwei@panliuweideiMac ~ % git clone --recursive https://github.com/jwise/HoRNDIS.git Cloning into 'HoRNDIS'... fatal: unable to access 'https://github.com/jwise/HoRNDIS.git/': LibreSSL SSL_connect: Operation timed out in connection to github.com:443 panliuwei@panliuweideiMac ~ % git clone --recursive https://github.com/jwise/HoRNDIS.git Cloning into 'HoRNDIS'... remote: Enumerating objects: 408, done. remote: Counting objects: 100% (70/70), done. remote: Compressing objects: 100% (10/10), done. remote: Total 408 (delta 61), reused 60 (delta 60), pack-reused 338 Receiving objects: 100% (408/408), 163.55 KiB | 809.00 KiB/s, done. Resolving deltas: 100% (228/228), done. panliuwei@panliuweideiMac ~ % cd Development/HoRNDIS/ cd: no such file or directory: Development/HoRNDIS/ panliuwei@panliuweideiMac ~ % cd Development/HoRNDIS/ cd: no such file or directory: Development/HoRNDIS/ panliuwei@panliuweideiMac ~ % cd panliuwei/HoRNDIS/ cd: no such file or directory: panliuwei/HoRNDIS/ panliuwei@panliuweideiMac ~ % cd /Users/panliuwei/HoRNDIS panliuwei@panliuweideiMac HoRNDIS % xcodebuild -sdk macosx -configuration Release xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance panliuwei@panliuweideiMac HoRNDIS % xcodebuild -sdk macosx -configuration Release xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance panliuwei@panliuweideiMac HoRNDIS % Run sudo xcode-select -s /Applications/Xcode.app/Contents/Developer zsh: command not found: Run panliuwei@panliuweideiMac HoRNDIS % sudo xcode-select -s /Applications/Xcode.app/Contents/Developer Password: xcode-select: error: invalid developer directory '/Applications/Xcode.app/Contents/Developer' panliuwei@panliuweideiMac HoRNDIS % sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/ xcode-select: error: invalid developer directory '/Applications/Xcode.app/Contents/Developer/' panliuwei@panliuweideiMac HoRNDIS % sudo rm -rf /Applications/Xcode.app Password: panliuwei@panliuweideiMac HoRNDIS % sudo rm -rf /Library/Preferences/com.apple.dt.Xcode.plist panliuwei@panliuweideiMac HoRNDIS % rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist panliuwei@panliuweideiMac HoRNDIS % rm -rf ~/Library/Caches/com.apple.dt.Xcode panliuwei@panliuweideiMac HoRNDIS % rm -rf ~/Library/Application\ Support/Xcode panliuwei@panliuweideiMac HoRNDIS % rm -rf ~/Library/Developer/Xcode panliuwei@panliuweideiMac HoRNDIS % rm -rf ~/Library/Developer/CoreSimulator panliuwei@panliuweideiMac HoRNDIS % rm -rf ~/Library/Developer/XCPGDevices panliuwei@panliuweideiMac HoRNDIS % cd panliuwei@panliuweideiMac ~ % defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 panliuwei@panliuweideiMac ~ % Killall Dock panliuwei@panliuweideiMac ~ % xcodebuild -sdk macosx -configuration Release objc[5025]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x210997678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x105c802c8). One of the two will be used. Which one is undefined. objc[5025]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x2109976c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x105c80318). One of the two will be used. Which one is undefined. Command line invocation: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -configuration Release User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: SDKROOT = macosx12.1 xcodebuild: error: The directory /Users/panliuwei does not contain an Xcode project. panliuwei@panliuweideiMac ~ % sudo cp -rv build/Release/HoRNDIS.kext /Library/Extensions/ Password: cp: build/Release/HoRNDIS.kext: No such file or directory panliuwei@panliuweideiMac ~ % xcodebuild -sdk macosx -configuration Release objc[5091]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x210997678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x105a282c8). One of the two will be used. Which one is undefined. objc[5091]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x2109976c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x105a28318). One of the two will be used. Which one is undefined. Command line invocation: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -configuration Release User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: SDKROOT = macosx12.1 xcodebuild: error: The directory /Users/panliuwei does not contain an Xcode project. panliuwei@panliuweideiMac ~ % cd /Users/panliuwei/Downloads/ panliuwei@panliuweideiMac Downloads % xcodebuild -sdk macosx -configuration Release objc[5105]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x210997678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1066ac2c8). One of the two will be used. Which one is undefined. objc[5105]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x2109976c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1066ac318). One of the two will be used. Which one is undefined. Command line invocation: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -configuration Release User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: SDKROOT = macosx12.1 xcodebuild: error: The directory /Users/panliuwei/Downloads does not contain an Xcode project. panliuwei@panliuweideiMac Downloads % cd panliuwei@panliuweideiMac ~ % xcodebuild -sdk macosx -configuration Release objc[5108]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x210997678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10467c2c8). One of the two will be used. Which one is undefined. objc[5108]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x2109976c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10467c318). One of the two will be used. Which one is undefined. Command line invocation: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -configuration Release User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: SDKROOT = macosx12.1 xcodebuild: error: The directory /Users/panliuwei does not contain an Xcode project. panliuwei@panliuweideiMac ~ % xcodebuild -sdk macosx -configuration Release objc[5308]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x210997678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103efc2c8). One of the two will be used. Which one is undefined. objc[5308]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x2109976c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103efc318). One of the two will be used. Which one is undefined. Command line invocation: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -configuration Release User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: SDKROOT = macosx12.1 xcodebuild: error: The directory /Users/panliuwei does not contain an Xcode project. panliuwei@panliuweideiMac ~ % cd Development/HoRNDIS/ cd: no such file or directory: Development/HoRNDIS/ panliuwei@panliuweideiMac ~ % cd /Users/panliuwei/HoRNDIS panliuwei@panliuweideiMac HoRNDIS % xcodebuild -sdk macosx -configuration Release objc[5327]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x210997678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107ae42c8). One of the two will be used. Which one is undefined. objc[5327]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x2109976c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x107ae4318). One of the two will be used. Which one is undefined. Command line invocation: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk macosx -configuration Release User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings from command line: SDKROOT = macosx12.1 note: Using new build system note: Planning Analyze workspace Create build description Build description signature: 30bda67d4325c0bfbb5e884563f20557 Build description path: /Users/panliuwei/HoRNDIS/build/XCBuildData/30bda67d4325c0bfbb5e884563f20557-desc.xcbuild note: Build preparation complete warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning CreateBuildDirectory /Users/panliuwei/HoRNDIS/build cd /Users/panliuwei/HoRNDIS/HoRNDIS.xcodeproj builtin-create-build-directory /Users/panliuwei/HoRNDIS/build CreateBuildDirectory /Users/panliuwei/HoRNDIS/build/Release cd /Users/panliuwei/HoRNDIS/HoRNDIS.xcodeproj builtin-create-build-directory /Users/panliuwei/HoRNDIS/build/Release MkDir /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /bin/mkdir -p /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents MkDir /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/Resources (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /bin/mkdir -p /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/Resources MkDir /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/MacOS (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /bin/mkdir -p /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/MacOS MkDir /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /bin/mkdir -p /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/all-product-headers.yaml (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/all-product-headers.yaml WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS.hmap (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS.hmap WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-non-framework-target-headers.hmap (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-non-framework-target-headers.hmap WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/HoRNDIS_info.c (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/HoRNDIS_info.c WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS.LinkFileList (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS.LinkFileList WriteAuxiliaryFile /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS.LinkFileList (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS write-file /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS.LinkFileList ProcessInfoPlistFile /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/Info.plist /Users/panliuwei/HoRNDIS/HoRNDIS-Info.plist (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS builtin-infoPlistUtility /Users/panliuwei/HoRNDIS/HoRNDIS-Info.plist -producttype com.apple.product-type.kernel-extension -expandbuildsettings -platform macosx -o /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/Info.plist ProcessPCH++ /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/4198152222120495346/HoRNDIS-Prefix.pch.gch /Users/panliuwei/HoRNDIS/HoRNDIS-Prefix.pch normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS Precompile of '/Users/panliuwei/HoRNDIS/HoRNDIS-Prefix.pch' required by '/Users/panliuwei/HoRNDIS/HoRNDIS.cpp' /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++-header -target x86_64-apple-macos10.11 -fmessage-length\=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -nostdinc -std\=c++11 -gmodules -fno-builtin -Wno-trigraphs -fno-exceptions -fno-rtti -fno-sanitize\=vptr -Ofast -flto -fno-common -mkernel -Werror\=incompatible-pointer-types -Wno-missing-field-initializers -Wmissing-prototypes -Werror\=return-type -Wunreachable-code -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fapple-kext -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -F/Users/panliuwei/HoRNDIS/build/Release -Wno-inconsistent-missing-override -c /Users/panliuwei/HoRNDIS/HoRNDIS-Prefix.pch -MD -MT dependencies -MF /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/4198152222120495346/HoRNDIS-Prefix.pch.d -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -o /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/4198152222120495346/HoRNDIS-Prefix.pch.gch --serialize-diagnostics /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/4198152222120495346/HoRNDIS-Prefix.pch.dia ProcessPCH++ /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/243323544875378363/HoRNDIS-Prefix.pch.gch /Users/panliuwei/HoRNDIS/HoRNDIS-Prefix.pch normal arm64e c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS Precompile of '/Users/panliuwei/HoRNDIS/HoRNDIS-Prefix.pch' required by '/Users/panliuwei/HoRNDIS/HoRNDIS.cpp' /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++-header -target arm64e-apple-macos10.11 -fmessage-length\=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -nostdinc -std\=c++11 -gmodules -fno-builtin -Wno-trigraphs -fno-exceptions -fno-rtti -fno-sanitize\=vptr -Ofast -flto -fno-common -mkernel -Werror\=incompatible-pointer-types -Wno-missing-field-initializers -Wmissing-prototypes -Werror\=return-type -Wunreachable-code -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fapple-kext -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -F/Users/panliuwei/HoRNDIS/build/Release -Wno-inconsistent-missing-override -c /Users/panliuwei/HoRNDIS/HoRNDIS-Prefix.pch -MD -MT dependencies -MF /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/243323544875378363/HoRNDIS-Prefix.pch.d -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -o /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/243323544875378363/HoRNDIS-Prefix.pch.gch --serialize-diagnostics /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/243323544875378363/HoRNDIS-Prefix.pch.dia CompileC /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS_info.o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/HoRNDIS_info.c normal arm64e c com.apple.compilers.llvm.clang.1_0.compiler (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS export LANG\=en_US.US-ASCII /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target arm64e-apple-macos10.11 -fmessage-length\=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -nostdinc -std\=c99 -gmodules -fno-builtin -Wno-trigraphs -Ofast -flto -fno-common -mkernel -Werror\=incompatible-pointer-types -Werror\=implicit-function-declaration -Wno-missing-field-initializers -Wmissing-prototypes -Werror\=return-type -Wunreachable-code -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -F/Users/panliuwei/HoRNDIS/build/Release -MMD -MT dependencies -MF /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS_info.d --serialize-diagnostics /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS_info.dia -c /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/HoRNDIS_info.c -o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS_info.o CompileC /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS_info.o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/HoRNDIS_info.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS export LANG\=en_US.US-ASCII /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.11 -fmessage-length\=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -nostdinc -std\=c99 -gmodules -fno-builtin -Wno-trigraphs -Ofast -flto -fno-common -mkernel -Werror\=incompatible-pointer-types -Werror\=implicit-function-declaration -Wno-missing-field-initializers -Wmissing-prototypes -Werror\=return-type -Wunreachable-code -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -F/Users/panliuwei/HoRNDIS/build/Release -MMD -MT dependencies -MF /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS_info.d --serialize-diagnostics /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS_info.dia -c /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/HoRNDIS_info.c -o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS_info.o CompileC /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS.o /Users/panliuwei/HoRNDIS/HoRNDIS.cpp normal arm64e c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS export LANG\=en_US.US-ASCII /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target arm64e-apple-macos10.11 -fmessage-length\=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -nostdinc -std\=c++11 -gmodules -fno-builtin -Wno-trigraphs -fno-exceptions -fno-rtti -fno-sanitize\=vptr -Ofast -flto -fno-common -mkernel -Werror\=incompatible-pointer-types -Wno-missing-field-initializers -Wmissing-prototypes -Werror\=return-type -Wunreachable-code -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fapple-kext -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/arm64e -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -F/Users/panliuwei/HoRNDIS/build/Release -Wno-inconsistent-missing-override -include /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/243323544875378363/HoRNDIS-Prefix.pch -MMD -MT dependencies -MF /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS.d --serialize-diagnostics /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS.dia -c /Users/panliuwei/HoRNDIS/HoRNDIS.cpp -o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS.o In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:245:24: warning: 'IOEthernetController' is deprecated: DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver to that Framework [-Wdeprecated-declarations] class HoRNDIS : public IOEthernetController { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:186:18: note: 'IOEthernetController' has been explicitly marked deprecated here class __exported APPLE_KEXT_DEPRECATE IOEthernetController : public IONetworkController ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:28:30: note: expanded from macro 'APPLE_KEXT_DEPRECATE' #define APPLE_KEXT_DEPRECATE __kpi_deprecated("DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver ... ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:279:2: warning: 'IOEthernetInterface' is deprecated: DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver to that Framework [-Wdeprecated-declarations] IOEthernetInterface *fNetworkInterface; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:35: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetInterface.h:86:18: note: 'IOEthernetInterface' has been explicitly marked deprecated here class __exported APPLE_KEXT_DEPRECATE IOEthernetInterface : public IONetworkInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:28:30: note: expanded from macro 'APPLE_KEXT_DEPRECATE' #define APPLE_KEXT_DEPRECATE __kpi_deprecated("DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver ... ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:304:2: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostPipe *fInPipe; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:305:2: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostPipe *fOutPipe; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:367:33: warning: 'IOEthernetInterface' is deprecated: DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver to that Framework [-Wdeprecated-declarations] class HoRNDISInterface : public IOEthernetInterface { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:35: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetInterface.h:86:18: note: 'IOEthernetInterface' has been explicitly marked deprecated here class __exported APPLE_KEXT_DEPRECATE IOEthernetInterface : public IONetworkInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:28:30: note: expanded from macro 'APPLE_KEXT_DEPRECATE' #define APPLE_KEXT_DEPRECATE __kpi_deprecated("DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver ... ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:381:2: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:270:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOUSBDevice ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:381:42: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:270:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOUSBDevice ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:381:28: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:270:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOUSBDevice ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:389:3: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:389:45: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:389:31: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:408:4: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, obj); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:408:46: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, obj); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:408:32: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, obj); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:468:4: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostPipe *&pipe = isEPIn ? fInPipe : fOutPipe; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:502:3: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:270:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOUSBDevice ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:502:43: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:270:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOUSBDevice ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:502:29: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:270:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOUSBDevice ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:508:2: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *controlIf = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:508:48: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *controlIf = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:508:34: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *controlIf = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:187:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOUSBInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:540:33: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOService *HoRNDIS::probeDevice(IOUSBHostDevice *device, SInt32 *score) { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:270:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOUSBDevice ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:680:36: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] static IOReturn loopClearPipeStall(IOUSBHostPipe *pipe) { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:698:33: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] static inline IOReturn robustIO(IOUSBHostPipe *pipe, pipebuf_t *buf, ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:849:35: warning: 'IOUSBHostIOSource' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] fInPipe->abort(IOUSBHostIOSource::kAbortSynchronous, ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:125: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostIOSource.h:221:7: note: 'IOUSBHostIOSource' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostIOSource : public OSObject ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:853:36: warning: 'IOUSBHostIOSource' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] fOutPipe->abort(IOUSBHostIOSource::kAbortSynchronous, ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:125: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostIOSource.h:221:7: note: 'IOUSBHostIOSource' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostIOSource : public OSObject ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:11: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/arm/limits.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 26 warnings generated. CompileC /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS.o /Users/panliuwei/HoRNDIS/HoRNDIS.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS export LANG\=en_US.US-ASCII /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-macos10.11 -fmessage-length\=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -nostdinc -std\=c++11 -gmodules -fno-builtin -Wno-trigraphs -fno-exceptions -fno-rtti -fno-sanitize\=vptr -Ofast -flto -fno-common -mkernel -Werror\=incompatible-pointer-types -Wno-missing-field-initializers -Wmissing-prototypes -Werror\=return-type -Wunreachable-code -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fapple-kext -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-generated-files.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-own-target-headers.hmap -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-all-target-headers.hmap -iquote /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/HoRNDIS-project-headers.hmap -I/Users/panliuwei/HoRNDIS/build/Release/include -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources-normal/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources/x86_64 -I/Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/DerivedSources -F/Users/panliuwei/HoRNDIS/build/Release -Wno-inconsistent-missing-override -include /Users/panliuwei/HoRNDIS/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/4198152222120495346/HoRNDIS-Prefix.pch -MMD -MT dependencies -MF /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS.d --serialize-diagnostics /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS.dia -c /Users/panliuwei/HoRNDIS/HoRNDIS.cpp -o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS.o In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:245:24: warning: 'IOEthernetController' is deprecated: DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver to that Framework [-Wdeprecated-declarations] class HoRNDIS : public IOEthernetController { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:186:18: note: 'IOEthernetController' has been explicitly marked deprecated here class __exported APPLE_KEXT_DEPRECATE IOEthernetController : public IONetworkController ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:28:30: note: expanded from macro 'APPLE_KEXT_DEPRECATE' #define APPLE_KEXT_DEPRECATE __kpi_deprecated("DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver ... ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:279:2: warning: 'IOEthernetInterface' is deprecated: DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver to that Framework [-Wdeprecated-declarations] IOEthernetInterface *fNetworkInterface; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:35: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetInterface.h:86:18: note: 'IOEthernetInterface' has been explicitly marked deprecated here class __exported APPLE_KEXT_DEPRECATE IOEthernetInterface : public IONetworkInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:28:30: note: expanded from macro 'APPLE_KEXT_DEPRECATE' #define APPLE_KEXT_DEPRECATE __kpi_deprecated("DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver ... ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:304:2: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostPipe *fInPipe; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:305:2: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostPipe *fOutPipe; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: /Users/panliuwei/HoRNDIS/HoRNDIS.h:367:33: warning: 'IOEthernetInterface' is deprecated: DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver to that Framework [-Wdeprecated-declarations] class HoRNDISInterface : public IOEthernetInterface { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:35: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetInterface.h:86:18: note: 'IOEthernetInterface' has been explicitly marked deprecated here class __exported APPLE_KEXT_DEPRECATE IOEthernetInterface : public IONetworkInterface ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:28:30: note: expanded from macro 'APPLE_KEXT_DEPRECATE' #define APPLE_KEXT_DEPRECATE __kpi_deprecated("DriverKit/NetworkingDriverKit is the new Networking Driver Development framework, please transition your Networking Driver ... ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:381:2: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:272:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:381:42: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:272:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:381:28: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:272:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:389:3: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:389:45: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:389:31: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:408:4: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, obj); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:408:46: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, obj); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:408:32: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *iface = OSDynamicCast(IOUSBHostInterface, obj); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:468:4: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostPipe *&pipe = isEPIn ? fInPipe : fOutPipe; ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:502:3: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:272:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:502:43: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:272:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:502:29: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostDevice *device = OSDynamicCast(IOUSBHostDevice, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:272:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:508:2: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *controlIf = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:508:48: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *controlIf = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:508:34: warning: 'IOUSBHostInterface' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOUSBHostInterface *controlIf = OSDynamicCast(IOUSBHostInterface, provider); ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:34: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IOEthernetController.h:26: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/network/IONetworkController.h:241: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOService.h:44: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IORegistryEntry.h:40: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSContainers.h:33: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSObject.h:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:385:53: note: expanded from macro 'OSDynamicCast' ((type *) OSMetaClassBase::safeMetaCast((inst), OSTypeID(type))) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/libkern/c++/OSMetaClass.h:325:31: note: expanded from macro 'OSTypeID' #define OSTypeID(type) (type::metaClass) ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:37: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostInterface.h:189:7: note: 'IOUSBHostInterface' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostInterface : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:540:33: warning: 'IOUSBHostDevice' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] IOService *HoRNDIS::probeDevice(IOUSBHostDevice *device, SInt32 *score) { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:36: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostDevice.h:272:7: note: 'IOUSBHostDevice' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostDevice : public IOService ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:680:36: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] static IOReturn loopClearPipeStall(IOUSBHostPipe *pipe) { ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:698:33: warning: 'IOUSBHostPipe' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] static inline IOReturn robustIO(IOUSBHostPipe *pipe, pipebuf_t *buf, ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:144:7: note: 'IOUSBHostPipe' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostPipe : public IOUSBHostIOSource ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:849:35: warning: 'IOUSBHostIOSource' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] fInPipe->abort(IOUSBHostIOSource::kAbortSynchronous, ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:125: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostIOSource.h:221:7: note: 'IOUSBHostIOSource' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostIOSource : public OSObject ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:853:36: warning: 'IOUSBHostIOSource' is deprecated: Use USBDriverKit [-Wdeprecated-declarations] fOutPipe->abort(IOUSBHostIOSource::kAbortSynchronous, ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:45: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostPipe.h:125: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostIOSource.h:221:7: note: 'IOUSBHostIOSource' has been explicitly marked deprecated here class __IOUSBHOSTFAMILY_DEPRECATED IOUSBHostIOSource : public OSObject ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:44: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/IOUSBHostFamily.h:108:38: note: expanded from macro '__IOUSBHOSTFAMILY_DEPRECATED' #define __IOUSBHOSTFAMILY_DEPRECATED __kpi_deprecated("Use USBDriverKit") ^ In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.cpp:30: In file included from /Users/panliuwei/HoRNDIS/HoRNDIS.h:30: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/machine/limits.h:9: In file included from /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/i386/limits.h:41: /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:219:32: note: expanded from macro '__kpi_deprecated' #define __kpi_deprecated(_msg) __deprecated_msg(_msg) ^ /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Kernel.framework/Headers/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 26 warnings generated. Ld /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/Binary/HoRNDIS normal x86_64 (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.11 -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -L/Users/panliuwei/HoRNDIS/build/Release -F/Users/panliuwei/HoRNDIS/build/Release -filelist /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS.LinkFileList -dead_strip -no_dead_strip_inits_and_terms -Xlinker -object_path_lto -Xlinker /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS_lto.o -Xlinker -kext -nostdlib -lkmodc++ -lkmod -lcc_kext -Xlinker -dependency_info -Xlinker /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/HoRNDIS_dependency_info.dat -o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/Binary/HoRNDIS ld: warning: option -no_dead_strip_inits_and_terms is obsolete and being ignored ld: warning: object file (/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer macOS version (12.1) than being linked (10.11) ld: warning: object file (/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer macOS version (12.1) than being linked (10.11) Ld /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/Binary/HoRNDIS normal arm64e (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64e-apple-macos10.11 -isysroot /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -L/Users/panliuwei/HoRNDIS/build/Release -F/Users/panliuwei/HoRNDIS/build/Release -filelist /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS.LinkFileList -dead_strip -no_dead_strip_inits_and_terms -Xlinker -object_path_lto -Xlinker /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS_lto.o -Xlinker -kext -nostdlib -lkmodc++ -lkmod -lcc_kext -Xlinker -dependency_info -Xlinker /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/HoRNDIS_dependency_info.dat -o /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/Binary/HoRNDIS ld: warning: option -no_dead_strip_inits_and_terms is obsolete and being ignored ld: warning: object file (/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libkmod.a(c_start.o)) was built for newer macOS version (12.1) than being linked (11.0) ld: warning: object file (/Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libkmod.a(c_stop.o)) was built for newer macOS version (12.1) than being linked (11.0) CreateUniversalBinary /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/MacOS/HoRNDIS normal arm64e\ x86_64 (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/arm64e/Binary/HoRNDIS /Users/panliuwei/HoRNDIS/build/HoRNDIS.build/Release/HoRNDIS.build/Objects-normal/x86_64/Binary/HoRNDIS -output /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/MacOS/HoRNDIS GenerateDSYMFile /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext.dSYM /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/MacOS/HoRNDIS (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /Users/panliuwei/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/MacOS/HoRNDIS -o /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext.dSYM CopyStringsFile /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/Resources/en.lproj/InfoPlist.strings /Users/panliuwei/HoRNDIS/en.lproj/InfoPlist.strings (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS builtin-copyStrings --validate --outputencoding UTF-16 --outfilename InfoPlist.strings --outdir /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext/Contents/Resources/en.lproj -- /Users/panliuwei/HoRNDIS/en.lproj/InfoPlist.strings /Users/panliuwei/HoRNDIS/en.lproj/InfoPlist.strings:1:1: note: detected encoding of input file as Unicode (UTF-8) (in target 'HoRNDIS' from project 'HoRNDIS') RegisterExecutionPolicyException /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS builtin-RegisterExecutionPolicyException /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext Touch /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext (in target 'HoRNDIS' from project 'HoRNDIS') cd /Users/panliuwei/HoRNDIS /usr/bin/touch -c /Users/panliuwei/HoRNDIS/build/Release/HoRNDIS.kext ** BUILD SUCCEEDED ** panliuwei@panliuweideiMac HoRNDIS % sudo cp -rv build/Release/HoRNDIS.kext /Library/Extensions/ Password: build/Release/HoRNDIS.kext -> /Library/Extensions/HoRNDIS.kext build/Release/HoRNDIS.kext/Contents -> /Library/Extensions/HoRNDIS.kext/Contents build/Release/HoRNDIS.kext/Contents/MacOS -> /Library/Extensions/HoRNDIS.kext/Contents/MacOS build/Release/HoRNDIS.kext/Contents/MacOS/HoRNDIS -> /Library/Extensions/HoRNDIS.kext/Contents/MacOS/HoRNDIS build/Release/HoRNDIS.kext/Contents/Resources -> /Library/Extensions/HoRNDIS.kext/Contents/Resources build/Release/HoRNDIS.kext/Contents/Resources/en.lproj -> /Library/Extensions/HoRNDIS.kext/Contents/Resources/en.lproj build/Release/HoRNDIS.kext/Contents/Resources/en.lproj/InfoPlist.strings -> /Library/Extensions/HoRNDIS.kext/Contents/Resources/en.lproj/InfoPlist.strings build/Release/HoRNDIS.kext/Contents/Info.plist -> /Library/Extensions/HoRNDIS.kext/Contents/Info.plist panliuwei@panliuweideiMac HoRNDIS %