gcj fails to compile due to integer mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One of the errors stopping gcj from compiling is this:

../.././gcc/java/builtins.cc:352:56: error: no match for ‘operator<=’
(operand types are ‘poly_uint16’ {aka ‘poly_int<1, short unsigned int>’}
and ‘int’)
  352 |                                && GET_MODE_SIZE (mode) <=
UNITS_PER_WORD)))
      |                                   ~~~~~~~~~~~~~~~~~~~~ ^~
      |                                                 |
      |                                                 poly_uint16 {aka
poly_int<1, short unsigned int>}

I think this is due to it not accepting the form of integer, but I have
seen code doing the exact same thing and that works. What is the issue with
this one? How would I fix it?




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux