This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Clean ups for error handling


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]