[gtksourceviewmm/nmake-3-18: 5/6] tests/search: Replace __PRETTY_FUNCTION__ with G_STRFUNC
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm/nmake-3-18: 5/6] tests/search: Replace __PRETTY_FUNCTION__ with G_STRFUNC
- Date: Fri, 28 Aug 2020 08:59:11 +0000 (UTC)
commit e149632b1b31aa30f85938a429995b914d9b00fc
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Aug 28 16:41:25 2020 +0800
tests/search: Replace __PRETTY_FUNCTION__ with G_STRFUNC
This ensures things build whereever glibmm is supported
tests/search/main.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/search/main.cc b/tests/search/main.cc
index 17c3261..aebcbac 100644
--- a/tests/search/main.cc
+++ b/tests/search/main.cc
@@ -14,7 +14,7 @@ using namespace Glib;
using namespace Gsv ;
#define LOG(message) \
-std::cout << __PRETTY_FUNCTION__ << ":" << __FILE__<< ":" << __LINE__ << ":" \
+std::cout << G_STRFUNC << ":" << __FILE__<< ":" << __LINE__ << ":" \
<< message << endl
#define THROW(message) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]