Hi,

I have the following problem:

I included include/uapi/linux/mii.h from my source and when I compiled I
got this error:

ethtool.h:1556:35: error: comparison between signed and unsigned integer
expressions [-Werro
  return speed <= INT_MAX || speed == SPEED_UNKNOWN;

speed declared as unsigned int32, but SPEED_UNKNOWN defined to -1.

Without -Wno-sign-compare I can't compile.

Regards,
Laszlo

Reply via email to