From 6b93e78749f49748f558023f77814fad7230760a Mon Sep 17 00:00:00 2001 From: Chris Watkins Date: Wed, 22 Jan 2025 20:06:34 +1100 Subject: [PATCH] Update __func__ and __PRETTY_FUNCTION__ defines for MSVC (#6222) * Delete `#define __func__` from pcl_macros.h * Apply suggestions from code review Co-authored-by: Lars Glud --------- Co-authored-by: Lars Glud --- common/include/pcl/pcl_macros.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/include/pcl/pcl_macros.h b/common/include/pcl/pcl_macros.h index eebc14decd0..d76d5c3c978 100644 --- a/common/include/pcl/pcl_macros.h +++ b/common/include/pcl/pcl_macros.h @@ -216,8 +216,7 @@ #define NOMINMAX #endif - #define __PRETTY_FUNCTION__ __FUNCTION__ - #define __func__ __FUNCTION__ + #define __PRETTY_FUNCTION__ __FUNCSIG__ #endif #endif // defined _WIN32