This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.5.0 vms-gcc_shell_handler.c needs #define __NEW_STARLET
- From: Tristan Gingold <gingold at adacore dot com>
- To: Jay K <jay dot krell at cornell dot edu>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 3 May 2010 12:41:51 +0200
- Subject: Re: gcc 4.5.0 vms-gcc_shell_handler.c needs #define __NEW_STARLET
- References: <COL101-W575F5714FC855322FBB876E6F20@phx.gbl>
On May 3, 2010, at 12:02 PM, Jay K wrote:
>
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c: In function 'get_dyn_handler_pointer':
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:73:3: error: 'PDSCDEF' undeclared (first use in this function)
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:73:3: note: each undeclared identifier is reported only once for each function it appears in
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:73:13: error: 'pd' undeclared (first use in this function)
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:73:18: warning: cast to pointer from integer of different size
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:73:18: error: expected expression before ')' token
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:111:17: warning: cast to pointer from integer of different size
> /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:111:10: warning: cast to pointer from integer of different size
> make[4]: *** [vms-gcc_shell_handler.o] Error 1
> make[3]: *** [multi-do] Error 1
> make[2]: *** [all-multi] Error 2
> make[1]: *** [all-target-libgcc] Error 2
> make: *** [all] Error 2
>
>
> fix, put this at top:
>
>
> #ifndef __NEW_STARLET
> #define __NEW_STARLET
> #endif
Hi,
yes, I think that the right thing to do. You don't even need to protect the #define.
Could you submit formally a patch ? Read the guidelines at http://gcc.gnu.org/contribute.html.
Thanks in advance,
Tristan.