[CRIU] error compiling cr_dump.c

Kir Kolyshkin kir at openvz.org
Fri Feb 10 09:00:39 EST 2012


[kir at kirpad crtools]$ make CC=clang
   CC       cr-dump.o
cr-dump.c:585:19: error: comparison of unsigned expression >= 0 is 
always true
       [-Werror,-Wtautological-compare]
         if (regs.orig_ax >= 0)
             ~~~~~~~~~~~~ ^  ~
1 error generated.
make: *** [cr-dump.o] Error 1

Indeed orig_ax is unsigned. I am too dumb (dump?) to fix it myself, so 
just bringing this to your attention.

Kir.


More information about the CRIU mailing list