X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaRTTI.cxx;h=a89d2bdb8c3f789af521c73b764698ef9d714fb7;hb=b4cd33464fc8cc5658da64fe75c3f689169f0cb0;hp=5562f7e2d6988a90b07935c57a8e80279c4ada06;hpb=f1870a83b513b34960cb6319b58b437d40e6a068;p=crea.git diff --git a/src/creaRTTI.cxx b/src/creaRTTI.cxx index 5562f7e..a89d2bd 100644 --- a/src/creaRTTI.cxx +++ b/src/creaRTTI.cxx @@ -2,7 +2,7 @@ # --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image -# pour la Santé© +# pour la Santé) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # Previous Authors : Laurent Guigues, Jean-Pierre Roux # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil @@ -65,22 +65,15 @@ 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 = "<