Re: [PATCH] sim: avoid TRACE redefine warnings

Mike Frysinger
2010-03-15T07:18:05Z

[-- Attachment #1: Type: Text/Plain, Size: 667 bytes --]

On Sunday 14 March 2010 20:35:38 Joel Brobecker wrote:
> > 2010-03-14 Mike Frysinger <vapier@gentoo.org>
> >
> > * hw-ports.c (TRACE): Delete.
> > * hw-properties.c (TRACE): Rename to _TRACE.
>
> The change in hw-ports.c is OK, but I don't get the change in
>
> hw-properties.c:
> > -#define TRACE(A,B)
> > +#define _TRACE(A,B)
>
> Can you explain?

as i mentioned in the first e-mail, "TRACE" is defined on the command line, so
any macro named "TRACE" has to be renamed. since this file actually used the
macro, i renamed them all. i could simply delete all TRACE usage in the file
if you prefer ... doesnt really matter to me.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]