Ice-3.7 does not compile on Raspbian
afm Member Andreas MüllerOrganization: Hochschule RapperswilProject: Distributed objects for Astrophotography ✭
edited November 2018 in Comments
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?