From ad524a6cbcd5b3524822a411a367ae448cd0a865 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 24 Nov 2024 19:26:37 +0100 Subject: [PATCH] fix CI --- src/protocol/MulleObjCRootObject.m | 9 +-------- test/tao-mix/default.errors | 2 +- test/tao-thread/CMakeLists.txt | 9 +-------- test/tao-thread/default.errors | 2 +- 4 files changed, 4 insertions(+), 18 deletions(-) diff --git a/src/protocol/MulleObjCRootObject.m b/src/protocol/MulleObjCRootObject.m index ca430d46..58e1c9e1 100644 --- a/src/protocol/MulleObjCRootObject.m +++ b/src/protocol/MulleObjCRootObject.m @@ -415,14 +415,7 @@ - (void) mulleRelinquishAccessWithTAOStrategy:(MulleObjCTAOStrategy) strategy // - (MulleObjCTAOStrategy) mulleTAOStrategy { - // - // So this default is MulleObjCTAOKnownThreadSafeMethods, because it doesn't - // break existing code. Known problematic subclasses like - // NSMutableDictionary then should actually reset this to some unsafe tag. - // In a future world where everything is a MulleObject, this would be unsafe - // and autolocking would promote this to ThreadSafe (?) - // - return( MulleObjCTAOKnownThreadSafeMethods); + return( MulleObjCTAOCallerRemovesFromCurrentPool); } diff --git a/test/tao-mix/default.errors b/test/tao-mix/default.errors index 23f6dbec..89bce15a 100644 --- a/test/tao-mix/default.errors +++ b/test/tao-mix/default.errors @@ -1 +1 @@ -the universe is configured for thread affine objects +runtime is compiled for thread affine objects diff --git a/test/tao-thread/CMakeLists.txt b/test/tao-thread/CMakeLists.txt index deec1372..03016bdd 100644 --- a/test/tao-thread/CMakeLists.txt +++ b/test/tao-thread/CMakeLists.txt @@ -17,19 +17,12 @@ project( tao-thread C) cmake_minimum_required( VERSION 3.11) -set_source_files_properties( main.m PROPERTIES COMPILE_OPTIONS "-fno-objc-tao") add_executable( "${PROJECT_NAME}.exe" main.m ) -if( "${C_COMPILER_NAME}" MATCHES "mulle-cl*") - if( CMAKE_BUILD_TYPE MATCHES "^Debug|^Test") - target_compile_options( "${PROJECT_NAME}.exe" PRIVATE -fobjc-tao) - message( STATUS "TAO enabled via compiler flag") - endif() -endif() - +set_source_files_properties( main.m PROPERTIES COMPILE_OPTIONS "-fno-objc-tao") target_link_libraries( "${PROJECT_NAME}.exe" ${TEST_LIBRARIES} diff --git a/test/tao-thread/default.errors b/test/tao-thread/default.errors index 23f6dbec..ba78a471 100644 --- a/test/tao-thread/default.errors +++ b/test/tao-thread/default.errors @@ -1 +1 @@ -the universe is configured for thread affine objects +the runtime is configured for thread affine objects