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: *-rtems cleanup patches for gcc 3.0 branch


joel.sherrill@OARcorp.com wrote:-

>  #undef CPP_PREDEFINES
> -#define CPP_PREDEFINES "-D_AM29K -D_AM29000 -D_EPI -Drtems -D__rtems__ \
> +#define CPP_PREDEFINES "-D_AM29K -D_AM29000 -D_EPI -D__rtems__ \
>    -Asystem(rtems) -Acpu(a29k) -Amachine(a29k)"

This is the old syntax for assertions.  I cleaned out all instances of
these about 18 months ago, so this seems to have crept back in from a
cut-and-paste from an external tree.

The new syntax matches that for macros, mainly because the old syntax is
a pain for cutting and pasting command lines, since the parentheses need
to be escaped in the shell.  The new syntax is

-Asystem=rtems

etc., as was done correctly in other lines of your patch.  Would you
please change any macros that use the old semantics to the new one?

Thanks,

Neil.


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