add a guard to prints warning info when the types for comparison is not supported
bugfix: comparison expression operands type related http://baijia.info/showthread.php?tid=2515