X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FcreaRTTI.cxx;h=a89d2bdb8c3f789af521c73b764698ef9d714fb7;hb=b4cd33464fc8cc5658da64fe75c3f689169f0cb0;hp=872d64b7a0721080314442e2fdee3e5079b2293c;hpb=fa9a448de6690f29627216055d16fe1503d46f54;p=crea.git diff --git a/src/creaRTTI.cxx b/src/creaRTTI.cxx index 872d64b..a89d2bd 100644 --- a/src/creaRTTI.cxx +++ b/src/creaRTTI.cxx @@ -65,11 +65,11 @@ 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 && \ @@ -95,7 +95,7 @@ namespace crea #endif return target_pointer; -// #endif +#endif // __APPLE__