Created attachment 169640 [details] Fix type for abs() calls in misc/bdelta During the exp-run in bug 208158, it was found that misc/bdeltra gives errors with libc++ 3.8.0 [1]: libbdelta.cpp:207:13: error: call to 'abs' is ambiguous if (abs(lastf1Place-h->hash_items[checkMatches[i]].loc) < ^~~ This is because abs() is being called with unsigned arguments. Fix this by casting the arguments to the appropriate signed type. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/bdelta-0.1.0.log
Hi Dimitry, I think this patch is superseded by this update: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209063. At least I don't see a similar code in the newer version.
Yep, it's now building without that patch. Thanks.