Hi,
OUTPUT doesn't conflict with system header files.

But I recommend to use MODULE_XXXXX to define a macro,
so it will never conflict with anything.
After all, IN, OUT, OUTPUT, INPUT and COUNTER are
commonly used.
2009/9/29 David Brownell <davi...@pacbell.net>

> On Tuesday 29 September 2009, simon qian wrote:
> > In etm.c, OUT is defined to initialize struct etm_outputs.
> > In rpcdce.h, OUT is also defined:
> > #ifndef _NO_W32_PSEUDO_MODIFIERS
> > #define IN
> > #define OUT
> > #ifndef OPTIONAL
> > #define OPTIONAL
> > #endif
> > #endif
> >
> > I recommend to change OUT in etm.c to ETM_OUT?
>
> Would OUTPUT work?
>
> > Similar change can also be applied to ADDR_COMPARATOR,
> > DATA_COMPARATOR, COUNTER and SEQ.
>
> Do they need it though?
>
>


-- 
Best Regards, SimonQian
http://www.SimonQian.com <http://www.simonqian.com/>
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to