Source: axis2c Severity: minor Tags: patch User: pkg-llvm-t...@lists.alioth.debian.org Usertags: clang-ftbfs
Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). We detected this kinf of error: http://clang.debian.net/status.php?version=3.4.2&key=TAUTOLOGICAL-COMPARE Full build log is available here: http://clang.debian.net/logs/2014-06-16/axis2c_1.6.0-6_unstable_clang.log Thanks, Alexander -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- axis2c-1.6.0/util/src/string.c 2009-04-06 08:49:04.000000000 +0400 +++ axis2c-1.6.0-my/util/src/string.c 2014-07-03 01:51:05.904275670 +0400 @@ -65,7 +65,7 @@ string->length = axutil_strlen(str); - if (string->length < 0) + if (string->length == 0) { AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE); @@ -124,7 +124,7 @@ string->ref_count = 1; string->owns_buffer = AXIS2_TRUE; - if (string->length < 0) + if (string->length == 0) { AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE); @@ -171,7 +171,7 @@ string->ref_count = 1; string->owns_buffer = AXIS2_FALSE; - if (string->length < 0) + if (string->length == 0) { AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_NULL_PARAM, AXIS2_FAILURE);