I tried building the code with arm-linux-gnueabihf-gcc 4.7.2 with some warnings
enabled and found some things that look wrong. Attached are 2 patches that fix
these:
1: C98 (and probably some other versions) don't allow forward-declaring an
enum. GCC 4.7.2 for ARM gives an error for this, and it's a trivial fix.
2: There were lots of place const was used where it shouldn't be, and a few
places it needed to be added. It still compiles, so it shouldn't have any
functional effect, except for possibly the windows code which I didn't try
compiling.
Original issue reported on code.google.com by bsilver1...@gmail.com on 18 Dec 2013 at 1:50
Original issue reported on code.google.com by
bsilver1...@gmail.com
on 18 Dec 2013 at 1:50Attachments: