__PRETTY_FUNCTION__ was made a non-token before gcc-3.0.0 for C++. (Fix

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)
This commit is contained in:
Owen Taylor 2003-05-28 16:53:20 +00:00 committed by Owen Taylor
parent d1db6f8b36
commit 614e5ed63a
7 changed files with 37 additions and 1 deletions

View 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.

View 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.

View 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.

View 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.

View 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.

View 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.

View File

@ -101,7 +101,7 @@
#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__)