Clean ups for error handling

Gabriel Dos Reis gdr@codesourcery.com
Sat Jul 22 11:21:00 GMT 2000


"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


More information about the Gcc-patches mailing list