Source: stealth
Version: 2.11.03-2
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Dear Maintainer,

Your package fails to build with clang instead of gcc. [ambiguous declaration]
The attached patch fixes it.
Buildlogs and patch are here:
https://github.com/nonas/debian-clang/tree/master/buildlogs/stealth

Regards,
Nicolas

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/scanner/testexitvalue.cc
+++ b/scanner/testexitvalue.cc
@@ -9,7 +9,7 @@
             "NOTE: this is the literal text of the executed command. "
                             "Maybe a typo?" << endl;
 
-    if (d_testExitValue && A2x(s_exitValue[1]) != 0)
+    if (d_testExitValue && int(A2x(s_exitValue[1])) != 0)
         d_reporter.error() << 
             "Program terminated due to non-zero exit value for\n" <<
             *d_cmdIterator << " (" << exitStr << ")" << endl;

Reply via email to