chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] arm64 problem?


From: Jörg F. Wittenberger
Subject: [Chicken-hackers] arm64 problem?
Date: Wed, 1 Mar 2017 19:54:14 +0000

Hi,

compling on a fresh rpi3 devuan I ran into a message which may or may
not explain why I'm seeing issues.

/Jörg

clang -Wall -Wno-unused -Wno-invalid-noreturn -fwrapv
-fomit-frame-pointer -fno-strict-aliasing  -Os -O3  -g -c comparators.c
comparators.c:6504:4: warning: absolute value function 'abs' given an
argument of type 'long' but has parameter of type 'int' which may cause
truncation of value [-Wabsolute-value] t5=C_fixnum_abs(t4);


/usr/include/chicken.h:1187:47: note: expanded from macro 'C_fixnum_abs'
#define C_fixnum_abs(n)                 C_fix(abs(C_unfix(n)))
                                              ^
/usr/include/chicken.h:1039:56: note: expanded from macro 'C_fix'
#define C_fix(n)                   ((C_word)((C_uword)(n) <<
C_FIXNUM_SH... ^
comparators.c:6504:4: note: use function 'labs' instead



reply via email to

[Prev in Thread] Current Thread [Next in Thread]