I casted the enums to int like you suggested earlier on bp/cgr/libcgr.c:1817 and bp/cgr/libcgr.c:1856 and continued the compilation. Now make fails on nm/shared/adm/adm.c:970:10
error: comparison of unsigned expression < 0 is always
false [-Werror,-Wtautological-compare]
if((len < 0) || (len > buffer_len) || (len != data_len))
~~~ ^ ~
I think len has to be casted to int here to.
Anonymous
Thanks, Harrison, this is very helpful. Would you please go ahead and do that cast, rebuild, and then see if there are any other bits of code in ION that also fail in the same way? These are things that our other compilers aren't catching, and I would like to fix them all at once rather than open individual bug tickets for each one.
the only other one is
nm/shared/utils/utils.c:692:23: error: comparison of unsigned expression <
0 is
always false [-Werror,-Wtautological-compare]
if((size-result_len) < 0)
and then it builds. Are the regression test runtests or runtestset or both?
On Tue, Sep 23, 2014 at 12:57 PM, Scott Burleigh sburleig@users.sf.net
wrote:
Related
Bugs:
#58Okay, perfect, I'll make those two changes.
I always use runtests because I never run the entire test suite in a single shot - I run individual tests to check out specific behaviors. runtestset is for running sets of tests, enumerated in named files.
Okay, this fix is now posted on the misc-v3.2.2 branch and ready for release.