This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Clean ups for error handling
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Clean ups for error handling
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 22 Jul 2000 20:15:52 +0200
- Cc: zack at wolery dot cumb dot org, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <200007221419.KAA27767@caip.rutgers.edu>
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
[...]
| With AIX4.1 cc I get:
|
| > "../../egcs-CVS20000721/gcc/system.h", line 620.9: 1506-188 (S)
| > Reserved name __FUNCTION__ cannot be defined as a macro name.
| > make[2]: *** [cppmain.o] Error 1
|
| So I installed the following patch.
|
| Index: ChangeLog
| ===================================================================
| RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
| retrieving revision 1.7185
| diff -u -p -r1.7185 ChangeLog
| --- ChangeLog 2000/07/21 18:29:14 1.7185
| +++ ChangeLog 2000/07/22 14:11:22
| @@ -1,3 +1,7 @@
| +2000-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
| +
| + * system.h (__FUNCTION__): Wrap definition in #ifndef.
Well, as questioned by Jason, we should never have changed
__PRETTY_FUNCTION__ to __FUNCTION__.
Zack, could revert that part of your patch?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com