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]
Other format: [Raw text]

Re: Refinements to alpha/xm-vms.h


On Mon, Nov 19, 2001 at 07:25:27AM -0500, Richard Kenner wrote:
> Mon Nov 19 07:21:35 2001  Douglas B. Rupp  <rupp@gnat.com>
> 
> 	* config/alpha/xm-vms.h: Don't define macros that autoconf handles.

Yay!

> 	(SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
> 	* gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.

Is there a good reason to use __posix_exit and our own numbers instead
of exit and the values defined in stdlib.h?

> ! #define FATAL_EXIT_CODE (1)

Unnecessary parentheses.

> ! #ifdef exit
> ! #undef exit
> ! #endif

Unnecessary #ifdef.

zw


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