From: Eduardo DAVILA Date: Tue, 21 Apr 2020 05:54:29 +0000 (+0200) Subject: #3384 crea Feature New Normal - vtk9itk4wx3-macos X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=refs%2Fheads%2Fvtk9itk4wx3-macos;p=crea.git #3384 crea Feature New Normal - vtk9itk4wx3-macos --- diff --git a/src/creaRTTI.cxx b/src/creaRTTI.cxx index 5562f7e..0f682ed 100644 --- a/src/creaRTTI.cxx +++ b/src/creaRTTI.cxx @@ -65,22 +65,16 @@ namespace crea -// #if __APPLE__ -// //EED2018-08-28 Be careful #include is not complete (CommandLine mechanisme Xcode) -// printf("EED creaRTTI run_time_up_or_down_cast 2018-08-28 Warnning !!!! Apple cast missing __do_upcast "); -// return source_pointer; -// #else +#if __APPLE__ + // //EED2018-08-28 Be careful #include is not complete (CommandLine mechanisme Xcode) + printf("EED creaRTTI run_time_up_or_down_cast 2018-08-28 Warnning !!!! Apple cast missing __do_upcast "); + return source_pointer; +#else #if __GNUC__ > 3 || \ (__GNUC__ == 3 && (__GNUC_MINOR__ > 1 || \ (__GNUC_MINOR__ == 1 && \ __GNUC_PATCHLEVEL__ > 0))) -printf("EED run_time_up_or_down_cast Warnning This code not commpilling in mac and in Linux ?????? n"); -printf("EED run_time_up_or_down_cast Warnning This code not commpilling in mac and in Linux ?????? n"); -printf("EED run_time_up_or_down_cast Warnning This code not commpilling in mac and in Linux ?????? n"); -printf("EED run_time_up_or_down_cast Warnning This code not commpilling in mac and in Linux ?????? n"); -printf("EED run_time_up_or_down_cast Warnning This code not commpilling in mac and in Linux ?????? n"); -/* const abi::__class_type_info* targetTI = (const abi::__class_type_info *)( &(target_type)); creaDebugMessage("info",7," * source = "<