From d4ce6807c725f27f3f93d75dc38b5fe3aa2a079d Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Wed, 18 Sep 2019 12:05:23 -0400 Subject: [PATCH] Don't use _builtin_FUNCTION. (#107) --- src/allreduce_robust.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/allreduce_robust.h b/src/allreduce_robust.h index c263aa47d..071ac8aa4 100644 --- a/src/allreduce_robust.h +++ b/src/allreduce_robust.h @@ -433,11 +433,7 @@ class AllreduceRobust : public AllreduceBase { bool RecoverExec(void *buf, size_t size, int flag, int seqno = ActionSummary::kSpecialOp, int cacheseqno = ActionSummary::kSpecialOp, -#ifdef __linux__ - const char* caller = __builtin_FUNCTION()); -#else - const char* caller = "N/A"); -#endif + const char* caller = _CALLER); /*! * \brief try to load check point *