This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Refinements to alpha/xm-vms.h
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, rupp at gnat dot com
- Date: Mon, 19 Nov 2001 12:16:15 -0800
- Subject: Re: Refinements to alpha/xm-vms.h
- References: <10111191225.AA03115@vlsi1.ultra.nyu.edu>
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