Debian Package rebuild

Rebuild of the Debian archive with clang

"Absolute value error" build failure(s)
clang 3.8.1
Return to the list
Probably a mistake:
#include <stdlib.h>
void foo() {
 unsigned int i=0; /* absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] */
 abs(i);
 unsigned int j=0; /* taking the absolute value of unsigned type 'unsigned int' has no effect */
 abs(j);
}
gcc does not display any warning.
Versions: 2.9 - 3.0 - 3.1 - 3.2 - 3.3 - 3.4 - 3.4.2 - 3.5.0 - 3.6.0 - 3.8.1 - 3.9.1 - 4.0.1 - 5.0
PackageVersionSupposed error messageFull log Bug report
libgadu 1:1.12.1-2handlers.c:1434:6: error: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] Log
putty 0.67-2x11fwd.c:423:6: error: taking the absolute value of unsigned type 'unsigned long' has no effect [-Werror,-Wabsolute-value] Log
rockdodger 1.0.2-1greeblies.c:130:12: error: using integer absolute value function 'abs' when argument is of floating point type [-Werror,-Wabsolute-value] Log
sgt-puzzles 20160429.b31155b-1./keen.c:1108:21: error: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value] Log
4 errors
Return to the list