Closed eburairu closed 3 years ago
We need to change from verify_noerr to __Verify_noErr on macOS High Sierra
verify_noerr
__Verify_noErr
Ishiiruka-5.9b/Externals/wxWidgets3/src/osx/carbon/icon.cpp:332:9: error: use of undeclared identifier 'verify_noerr' verify_noerr( GetIconRef( kOnSystemDisk, kSystemIconsCreator, theId, &iconRef ) ) ; ^ 1 error generated. make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/carbon/icon.cpp.o] Error 1 make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2 make: *** [all] Error 2
Ishiiruka-5.9b/Externals/wxWidgets3/src/osx/carbon/region.cpp:1024:5: error: use of undeclared identifier 'verify_noerr' verify_noerr( HIShapeOffset( M_REGION , x , y ) ) ; ^ Ishiiruka-5.9b/Externals/wxWidgets3/src/osx/carbon/region.cpp:1079:13: error: use of undeclared identifier 'verify_noerr' verify_noerr( HIShapeIntersect( M_REGION , OTHER_M_REGION(region) , M_REGION ) ); ^ Ishiiruka-5.9b/Externals/wxWidgets3/src/osx/carbon/region.cpp:1083:13: error: use of undeclared identifier 'verify_noerr' verify_noerr( HIShapeUnion( M_REGION , OTHER_M_REGION(region) , M_REGION ) ); ^ Ishiiruka-5.9b/Externals/wxWidgets3/src/osx/carbon/region.cpp:1091:17: error: use of undeclared identifier 'verify_noerr' verify_noerr( HIShapeDifference( unionshape, intersectionshape, M_REGION ) ); ^ Ishiiruka-5.9b/Externals/wxWidgets3/src/osx/carbon/region.cpp:1096:13: error: use of undeclared identifier 'verify_noerr' verify_noerr( HIShapeDifference( M_REGION , OTHER_M_REGION(region) , M_REGION ) ) ; ^ 5 errors generated. make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/carbon/region.cpp.o] Error 1 make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2 make: *** [all] Error 2
Ishiiruka-5.9b/Externals/wxWidgets3/src/osx/core/bitmap.cpp:977:5: error: use of undeclared identifier 'verify_noerr' verify_noerr( AcquireIconRef(icon) ); ^ 1 error generated. make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/core/bitmap.cpp.o] Error 1 make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2 make: *** [all] Error 2
We need to change from
verify_noerr
to__Verify_noErr
on macOS High Sierra