This warning is produced when compiling qemu on solaris
(openindiana).

 /usr/include/sys/regset.h:98:1: warning: this is the location
    of the previous definition

 (I don't know how regset.h is included)

The code reads:

...
#define MANUAL_CS           (1 << 14)
#define CS                  (0xF << 10)
#define CS_SHIFT            (10)
...


And other than the #define, this constant is never used.
There are a few usages of CS_SHIFT (shouldn't it be used
when defining CS too?) and MANUAL_CS.  A few other
constants defined in there, like, for example, IFMODE,
are not used too.

Can we get rid of this so-likely-to-clash-with-something
definition?

Thanks,

/mjt

Reply via email to