Source: libshevek
Severity: minor
Tags: patch
User: [email protected]
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/libshevek_1.3-1_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
--- libshevek-1.3/src/iostring.cc 2012-01-27 19:13:53.000000000 +0400
+++ libshevek-1.3-my/src/iostring.cc 2014-07-10 01:20:06.246763206 +0400
@@ -533,7 +533,7 @@
s = a.substr (0, precision);
else
s = a;
- if (width >= 0 && s.size () < width)
+ if (width > 0 && s.size () < width)
{
if (flags.find ('-'))
s += Glib::ustring (width - s.size (), ' ');