X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FcreaRTTI.cxx;fp=src%2FcreaRTTI.cxx;h=0f682ed12d208143eba7d64506b25dd2fe1d3232;hb=8a040b5d7be35180531a3513dc7c45ea239ac8c6;hp=5562f7e2d6988a90b07935c57a8e80279c4ada06;hpb=f1870a83b513b34960cb6319b58b437d40e6a068;p=crea.git 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 = "<