Hello,

On Wed, Jan 28, 2015 at 01:19:37PM +0100, John Paul Adrian Glaubitz wrote:
> In file included from /usr/include/signal.h:352:0,
>                  from /usr/include/sh4-linux-gnu/sys/param.h:28,
>                from ../../../src/helper/system.h:77,
>                from ../../../config.h:345,
>                from aice_usb.c:21:
>                ../../../src/target/nds32_reg.h:27:2: error: redeclaration of 
> enumerator 'R0'
>                R0 = 0, /* general registers */
>                ^
>                /usr/include/sh4-linux-gnu/sys/ucontext.h:43:3: note: previous 
> definition of 'R0' was here
>                R0 = 0,
>                ^

Are you sure it's fine for system headers (that get included even with
a regular <signal.h>) to declare an "R0" enumerator? This name sounds
too generic and clashes like the one you report are not surprising.

What is your proposed solution?

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to