Archived
This forum has been archived. Please start a new discussion on GitHub.
Ice-3.7 does not compile on Raspbian
I try to build Ice-3.7 cloned (and updated today) from github on a Raspberry Pi Model 3+ with raspbian (Debian version 9.4). However the compiler chokes on it with the error message
src/Slice/Scanner.l: In function ‘int slice_lex(Slice::GrammarBasePtr*)’: src/Slice/Scanner.l:253:19: error: comparison is always false due to limited range of data type [-Werror=type-limits] else if(c == EOF) ^ cc1plus: all warnings being treated as errors
The compiler is
$ g++ --version g++ (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516
What am I missing?
0
Comments
-
Hi Andreas,
This is actually a bug in our code we didn't noticed this before because we increased the warning level recently. I have open an issue https://github.com/zeroc-ice/ice/issues/295
For now the simpler will be to remove -Werror from cppflags in https://github.com/zeroc-ice/ice/blob/3.7/config/Make.rules.Linux#L153
0