__PRETTY_FUNCTION__ was made a non-token before gcc-3.0.0 for C++. (Fix
authorOwen Taylor <otaylor@redhat.com>
Wed, 28 May 2003 16:53:20 +0000 (16:53 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 28 May 2003 16:53:20 +0000 (16:53 +0000)
Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
        before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
        #113797)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmacros.h

index 25d4f17..d8ec0ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
+       before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
+       #113797)
+
 2003-05-28  Matthias Clasen  <maclas@gmx.de>
 
        * tests/patterntest.c: Remain silent when sucessful. 
index 25d4f17..d8ec0ef 100644 (file)
@@ -1,3 +1,9 @@
+Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
+       before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
+       #113797)
+
 2003-05-28  Matthias Clasen  <maclas@gmx.de>
 
        * tests/patterntest.c: Remain silent when sucessful. 
index 25d4f17..d8ec0ef 100644 (file)
@@ -1,3 +1,9 @@
+Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
+       before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
+       #113797)
+
 2003-05-28  Matthias Clasen  <maclas@gmx.de>
 
        * tests/patterntest.c: Remain silent when sucessful. 
index 25d4f17..d8ec0ef 100644 (file)
@@ -1,3 +1,9 @@
+Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
+       before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
+       #113797)
+
 2003-05-28  Matthias Clasen  <maclas@gmx.de>
 
        * tests/patterntest.c: Remain silent when sucessful. 
index 25d4f17..d8ec0ef 100644 (file)
@@ -1,3 +1,9 @@
+Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
+       before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
+       #113797)
+
 2003-05-28  Matthias Clasen  <maclas@gmx.de>
 
        * tests/patterntest.c: Remain silent when sucessful. 
index 25d4f17..d8ec0ef 100644 (file)
@@ -1,3 +1,9 @@
+Tue May 27 19:56:35 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: __PRETTY_FUNCTION__ was made a non-token
+       before gcc-3.0.0 for C++. (Fix from Martin Kretzschmar,
+       #113797)
+
 2003-05-28  Matthias Clasen  <maclas@gmx.de>
 
        * tests/patterntest.c: Remain silent when sucessful. 
index 3babc16..7315445 100644 (file)
 #define        G_STRINGIFY_ARG(contents)       #contents
 
 /* Provide a string identifying the current code position */
-#if defined(__GNUC__) && (__GNUC__ < 3)
+#if defined(__GNUC__) && (__GNUC__ < 3) && !defined(__cplusplus)
 #  define G_STRLOC     __FILE__ ":" G_STRINGIFY (__LINE__) ":" __PRETTY_FUNCTION__ "()"
 #else
 #  define G_STRLOC     __FILE__ ":" G_STRINGIFY (__LINE__)