From: Adam C. Emerson Date: Thu, 2 Apr 2020 23:29:45 +0000 (-0400) Subject: include/ceph_assert: qualify __assert_warn call in assert_warn macro X-Git-Tag: wip-pdonnell-testing-20200918.022351~1602^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=83ee7598c664ed864964feaf2119080163983b04;p=ceph-ci.git include/ceph_assert: qualify __assert_warn call in assert_warn macro A macro never knows where it will be expanded. Signed-off-by: Adam C. Emerson --- diff --git a/src/include/ceph_assert.h b/src/include/ceph_assert.h index 3d63ee3c162..c0df90ce145 100644 --- a/src/include/ceph_assert.h +++ b/src/include/ceph_assert.h @@ -70,7 +70,7 @@ extern void __ceph_assert_warn(const char *assertion, const char *file, int line #define assert_warn(expr) \ ((expr) \ ? _CEPH_ASSERT_VOID_CAST (0) \ - : __ceph_assert_warn (__STRING(expr), __FILE__, __LINE__, __CEPH_ASSERT_FUNCTION)) + : ::ceph::__ceph_assert_warn (__STRING(expr), __FILE__, __LINE__, __CEPH_ASSERT_FUNCTION)) }