-// #if __APPLE__
-// //EED2018-08-28 Be careful #include <typeinfo> 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 <typeinfo> 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 = "<<source_pointer<<std::endl);
void* tmp = source_pointer;
-1);
}
creaDebugMessage("info",7," * target = "<<target_pointer<<std::endl);
- */
#else
creaWarning("run_time_up_or_down_cast not impl. on Win : to do");
// target_pointer = __RTDynamicCast(source_pointer, 0, source_type, target_type, 0);
#endif
return target_pointer;
-// #endif
+#endif // __APPLE__