+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libscs.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qcL5vU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scslib-1.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/scslib-1.4.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scslib-1.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scslib-1.4.1-shared.patch):' Patch #0 (scslib-1.4.1-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shared --fuzz=0 patching file configure.in patching file Makefile.am patching file tests/Makefile.am patching file tests/test_accuracy.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cA6tSx + umask 022 + cd /builddir/build/BUILD + cd scslib-1.4.1 + autoreconf --install --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:92: warning: underquoted definition of AC_ADD_PATH_LIBS configure.in:92: run info Automake 'Extending aclocal' configure.in:92: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:92: warning: underquoted definition of AC_ADD_PATH_LIBS configure.in:92: run info Automake 'Extending aclocal' configure.in:92: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:6: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:39: installing './compile' configure.in:6: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' Makefile.am: installing './depcomp' tests/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-mpfr --enable-gmp checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-gcc-3.2... no checking for riscv64-redhat-linux-gnu-gcc-3.0... no checking for riscv64-redhat-linux-gnu-gcc... no checking for riscv64-redhat-linux-gnu-cc... no checking for gcc-3.2... no checking for gcc-3.0... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for main in -lgmp... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for main in -lgmp... (cached) yes checking for main in -lmpfr... yes checking for mpfr.h... yes checking for main in -lmpfr... (cached) yes checking for log in -lm... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for long double with more range or precision than double... yes checking size of int... 4 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tests/Makefile config.status: creating scs_config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/scslib-1.4.1' Making all in . make[2]: Entering directory '/builddir/build/BUILD/scslib-1.4.1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o double2scs.lo double2scs.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o print_scs.lo print_scs.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o addition_scs.lo addition_scs.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o multiplication_scs.lo multiplication_scs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c multiplication_scs.c -fPIC -DPIC -o .libs/multiplication_scs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c addition_scs.c -fPIC -DPIC -o .libs/addition_scs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c double2scs.c -fPIC -DPIC -o .libs/double2scs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Wshadow -Wpointer-arith -Wcast-align -Wconversion -Waggregate-return -Wstrict-prototypes -Wnested-externs -Wlong-long -Winline -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c print_scs.c -fPIC -DPIC -o .libs/print_scs.o In file included from multiplication_scs.c:29:0: scs.h:62:17: warning: ISO C90 does not support 'long long' [-Wlong-long] unsigned long long int l; ^~~~ In file included from multiplication_scs.c:30:0: scs_private.h:77:51: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] static const scs_db_number max_double = {{0xFFFFFFFF , 0x7FEFFFFF }}; ^~~~~~~~~~ multiplication_scs.c:69:23: warning: ISO C90 does not support 'long long' [-Wlong-long] typedef unsigned long long int SCS_CONVERSION_MUL; ^~~~ In file included from multiplication_scs.c:30:0: multiplication_scs.c: In function 'scs_mul': In file included from addition_scs.c:48:0: scs.h:62:17: warning: ISO C90 does not support 'long long' [-Wlong-long] unsigned long long int l; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:191:19: note: in expansion of macro 'Y_HW' x7=X_HW[7]; y7=Y_HW[7]; x6=X_HW[6]; y6=Y_HW[6]; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:191:45: note: in expansion of macro 'Y_HW' x7=X_HW[7]; y7=Y_HW[7]; x6=X_HW[6]; y6=Y_HW[6]; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:192:19: note: in expansion of macro 'Y_HW' x5=X_HW[5]; y5=Y_HW[5]; x4=X_HW[4]; y4=Y_HW[4]; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:192:45: note: in expansion of macro 'Y_HW' x5=X_HW[5]; y5=Y_HW[5]; x4=X_HW[4]; y4=Y_HW[4]; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:193:19: note: in expansion of macro 'Y_HW' x3=X_HW[3]; y3=Y_HW[3]; x2=X_HW[2]; y2=Y_HW[2]; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:193:45: note: in expansion of macro 'Y_HW' x3=X_HW[3]; y3=Y_HW[3]; x2=X_HW[2]; y2=Y_HW[2]; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:194:19: note: in expansion of macro 'Y_HW' x1=X_HW[1]; y1=Y_HW[1]; x0=X_HW[0]; y0=Y_HW[0]; ^~~~ scs_private.h:106:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define Y_HW y->h_word ^ multiplication_scs.c:194:45: note: in expansion of macro 'Y_HW' x1=X_HW[1]; y1=Y_HW[1]; x0=X_HW[0]; y0=Y_HW[0]; ^~~~ multiplication_scs.c:196:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r8 = x7*y1 + x6*y2 + x5*y3 + x4*y4 + x3*y5 + x2*y6 + x1*y7; ^ multiplication_scs.c:196:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r8 = x7*y1 + x6*y2 + x5*y3 + x4*y4 + x3*y5 + x2*y6 + x1*y7; ^ multiplication_scs.c:196:26: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r8 = x7*y1 + x6*y2 + x5*y3 + x4*y4 + x3*y5 + x2*y6 + x1*y7; ^ multiplication_scs.c:196:34: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r8 = x7*y1 + x6*y2 + x5*y3 + x4*y4 + x3*y5 + x2*y6 + x1*y7; ^ multiplication_scs.c:196:42: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r8 = x7*y1 + x6*y2 + x5*y3 + x4*y4 + x3*y5 + x2*y6 + x1*y7; ^ multiplication_scs.c:196:50: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r8 = x7*y1 + x6*y2 + x5*y3 + x4*y4 + x3*y5 + x2*y6 + x1*y7; ^ multiplication_scs.c:196:58: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r8 = x7*y1 + x6*y2 + x5*y3 + x4*y4 + x3*y5 + x2*y6 + x1*y7; ^ multiplication_scs.c:197:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ multiplication_scs.c:197:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ multiplication_scs.c:197:26: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ multiplication_scs.c:197:34: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ multiplication_scs.c:197:42: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ multiplication_scs.c:197:50: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ multiplication_scs.c:197:58: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ In file included from addition_scs.c:49:0: scs_private.h:77:51: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] static const scs_db_number max_double = {{0xFFFFFFFF , 0x7FEFFFFF }}; ^~~~~~~~~~ multiplication_scs.c:197:66: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r7 = x7*y0 + x6*y1 + x5*y2 + x4*y3 + x3*y4 + x2*y5 + x1*y6 + x0*y7; ^ multiplication_scs.c:198:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r6 = x6*y0 + x5*y1 + x4*y2 + x3*y3 + x2*y4 + x1*y5 + x0*y6; ^ multiplication_scs.c:198:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r6 = x6*y0 + x5*y1 + x4*y2 + x3*y3 + x2*y4 + x1*y5 + x0*y6; ^ multiplication_scs.c:198:26: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r6 = x6*y0 + x5*y1 + x4*y2 + x3*y3 + x2*y4 + x1*y5 + x0*y6; ^ multiplication_scs.c:198:34: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r6 = x6*y0 + x5*y1 + x4*y2 + x3*y3 + x2*y4 + x1*y5 + x0*y6; ^ multiplication_scs.c:198:42: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r6 = x6*y0 + x5*y1 + x4*y2 + x3*y3 + x2*y4 + x1*y5 + x0*y6; ^ multiplication_scs.c:198:50: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r6 = x6*y0 + x5*y1 + x4*y2 + x3*y3 + x2*y4 + x1*y5 + x0*y6; ^ multiplication_scs.c:198:58: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r6 = x6*y0 + x5*y1 + x4*y2 + x3*y3 + x2*y4 + x1*y5 + x0*y6; ^ multiplication_scs.c:199:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r5 = x5*y0 + x4*y1 + x3*y2 + x2*y3 + x1*y4 + x0*y5; ^ multiplication_scs.c:199:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r5 = x5*y0 + x4*y1 + x3*y2 + x2*y3 + x1*y4 + x0*y5; ^ multiplication_scs.c:199:26: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r5 = x5*y0 + x4*y1 + x3*y2 + x2*y3 + x1*y4 + x0*y5; ^ multiplication_scs.c:199:34: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r5 = x5*y0 + x4*y1 + x3*y2 + x2*y3 + x1*y4 + x0*y5; ^ multiplication_scs.c:199:42: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r5 = x5*y0 + x4*y1 + x3*y2 + x2*y3 + x1*y4 + x0*y5; ^ multiplication_scs.c:199:50: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r5 = x5*y0 + x4*y1 + x3*y2 + x2*y3 + x1*y4 + x0*y5; ^ In file included from double2scs.c:28:0: scs.h:62:17: warning: ISO C90 does not support 'long long' [-Wlong-long] unsigned long long int l; ^~~~ multiplication_scs.c:200:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r4 = x4*y0 + x3*y1 + x2*y2 + x1*y3 + x0*y4 ; ^ multiplication_scs.c:200:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r4 = x4*y0 + x3*y1 + x2*y2 + x1*y3 + x0*y4 ; ^ multiplication_scs.c:200:26: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r4 = x4*y0 + x3*y1 + x2*y2 + x1*y3 + x0*y4 ; ^ multiplication_scs.c:200:34: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r4 = x4*y0 + x3*y1 + x2*y2 + x1*y3 + x0*y4 ; ^ multiplication_scs.c:200:42: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r4 = x4*y0 + x3*y1 + x2*y2 + x1*y3 + x0*y4 ; ^ multiplication_scs.c:201:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r3 = x3*y0 + x2*y1 + x1*y2 + x0*y3; ^ multiplication_scs.c:201:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r3 = x3*y0 + x2*y1 + x1*y2 + x0*y3; ^ multiplication_scs.c:201:26: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r3 = x3*y0 + x2*y1 + x1*y2 + x0*y3; ^ multiplication_scs.c:201:34: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r3 = x3*y0 + x2*y1 + x1*y2 + x0*y3; ^ multiplication_scs.c:202:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r2 = x2*y0 + x1*y1 + x0*y2; ^ In file included from double2scs.c:29:0: scs_private.h:77:51: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] static const scs_db_number max_double = {{0xFFFFFFFF , 0x7FEFFFFF }}; ^~~~~~~~~~ multiplication_scs.c:202:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r2 = x2*y0 + x1*y1 + x0*y2; ^ multiplication_scs.c:202:26: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r2 = x2*y0 + x1*y1 + x0*y2; ^ multiplication_scs.c:203:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r1 = x1*y0 + x0*y1 ; ^ multiplication_scs.c:203:18: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r1 = x1*y0 + x0*y1 ; ^ multiplication_scs.c:204:10: warning: conversion to 'SCS_CONVERSION_MUL {aka long long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] r0 = x0*y0 ; ^ addition_scs.c: In function 'do_add_no_renorm': scs_private.h:103:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define X_IND x->index ^ addition_scs.c:206:11: note: in expansion of macro 'X_IND' Diff = X_IND - Y_IND; ^~~~~ double2scs.c: In function 'scs_set_d': double2scs.c:91:15: warning: conversion to 'unsigned int' from 'long long unsigned int' may alter its value [-Wconversion] R_HW[0] = mantissa.l >> (53 - exponent_remainder); ^~~~~~~~ multiplication_scs.c:220:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~~ multiplication_scs.c:220:30: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~ multiplication_scs.c:220:44: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~ multiplication_scs.c:220:59: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~ multiplication_scs.c:221:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ multiplication_scs.c:221:30: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ multiplication_scs.c:221:44: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ double2scs.c:95:60: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[1] = (mantissa.i[HI_ENDIAN] >> (32 - SCS_NB_BITS))& SCS_MASK_RADIX ; ^ multiplication_scs.c:221:59: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ multiplication_scs.c:225:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ double2scs.c:97:60: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[2] = (mantissa.i[HI_ENDIAN] >> (32 - SCS_NB_BITS))& SCS_MASK_RADIX ; ^ double2scs.c: In function 'scs_set_si': double2scs.c:152:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if(x>=0){R_SGN = 1; ux = x;} ^ double2scs.c:153:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] else {R_SGN = -1; ux = -x;} ^ multiplication_scs.c:225:29: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ multiplication_scs.c:225:43: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ multiplication_scs.c:225:57: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ multiplication_scs.c:226:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ multiplication_scs.c:226:29: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ addition_scs.c: In function 'do_add': scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:268:10: note: in expansion of macro 'X_HW' r0 = X_HW[0] + Y_HW[0]; r1 = X_HW[1] + Y_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:268:34: note: in expansion of macro 'X_HW' r0 = X_HW[0] + Y_HW[0]; r1 = X_HW[1] + Y_HW[1]; ^~~~ multiplication_scs.c:226:43: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:269:10: note: in expansion of macro 'X_HW' r2 = X_HW[2] + Y_HW[2]; r3 = X_HW[3] + Y_HW[3]; ^~~~ multiplication_scs.c:226:57: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:269:34: note: in expansion of macro 'X_HW' r2 = X_HW[2] + Y_HW[2]; r3 = X_HW[3] + Y_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:270:10: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[4]; r5 = X_HW[5] + Y_HW[5]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:270:34: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[4]; r5 = X_HW[5] + Y_HW[5]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:271:10: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[6]; r7 = X_HW[7] + Y_HW[7]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:271:34: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[6]; r7 = X_HW[7] + Y_HW[7]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:273:10: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1] + Y_HW[0]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:273:34: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1] + Y_HW[0]; ^~~~ multiplication_scs.c: In function 'scs_square': multiplication_scs.c:272:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~~ multiplication_scs.c:272:30: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~ multiplication_scs.c:272:44: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:274:10: note: in expansion of macro 'X_HW' r2 = X_HW[2] + Y_HW[1]; r3 = X_HW[3] + Y_HW[2]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:274:34: note: in expansion of macro 'X_HW' r2 = X_HW[2] + Y_HW[1]; r3 = X_HW[3] + Y_HW[2]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:275:10: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[3]; r5 = X_HW[5] + Y_HW[4]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:275:34: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[3]; r5 = X_HW[5] + Y_HW[4]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:276:10: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[5]; r7 = X_HW[7] + Y_HW[6]; break; ^~~~ multiplication_scs.c:272:59: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = val; R_HW[1] = r0; R_HW[2] = r1; R_HW[3] = r2; ^~ multiplication_scs.c:273:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ multiplication_scs.c:273:30: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ multiplication_scs.c:273:44: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ multiplication_scs.c:273:59: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r3; R_HW[5] = r4; R_HW[6] = r5; R_HW[7] = r6; ^~ multiplication_scs.c:277:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ multiplication_scs.c:277:29: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:276:34: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[5]; r7 = X_HW[7] + Y_HW[6]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:278:10: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ multiplication_scs.c:277:43: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:278:34: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ multiplication_scs.c:277:57: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:279:10: note: in expansion of macro 'X_HW' r2 = X_HW[2] + Y_HW[0]; r3 = X_HW[3] + Y_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:279:34: note: in expansion of macro 'X_HW' r2 = X_HW[2] + Y_HW[0]; r3 = X_HW[3] + Y_HW[1]; ^~~~ multiplication_scs.c:278:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ multiplication_scs.c:278:29: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:280:10: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[2]; r5 = X_HW[5] + Y_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:280:34: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[2]; r5 = X_HW[5] + Y_HW[3]; ^~~~ multiplication_scs.c:278:43: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ multiplication_scs.c:278:57: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:281:10: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[4]; r7 = X_HW[7] + Y_HW[5]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:281:34: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[4]; r7 = X_HW[7] + Y_HW[5]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:283:10: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:283:34: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:284:10: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3] + Y_HW[0]; ^~~~ multiplication_scs.c: In function 'scs_mul_ui': multiplication_scs.c:462:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] X_HW[i] = val; ^~~ multiplication_scs.c:472:15: warning: conversion to 'unsigned int' from 'SCS_CONVERSION_MUL {aka long long unsigned int}' may alter its value [-Wconversion] X_HW[0] = val; ^~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:284:34: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3] + Y_HW[0]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:285:10: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[1]; r5 = X_HW[5] + Y_HW[2]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:285:34: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[1]; r5 = X_HW[5] + Y_HW[2]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:286:10: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[3]; r7 = X_HW[7] + Y_HW[4]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:286:34: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[3]; r7 = X_HW[7] + Y_HW[4]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:288:10: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:288:34: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:289:10: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:289:34: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:290:10: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[0]; r5 = X_HW[5] + Y_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:290:34: note: in expansion of macro 'X_HW' r4 = X_HW[4] + Y_HW[0]; r5 = X_HW[5] + Y_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:291:10: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[2]; r7 = X_HW[7] + Y_HW[3]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:291:34: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[2]; r7 = X_HW[7] + Y_HW[3]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:293:10: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:293:34: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:294:10: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:294:34: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:295:10: note: in expansion of macro 'X_HW' r4 = X_HW[4]; r5 = X_HW[5] + Y_HW[0]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:295:34: note: in expansion of macro 'X_HW' r4 = X_HW[4]; r5 = X_HW[5] + Y_HW[0]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:296:10: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[1]; r7 = X_HW[7] + Y_HW[2]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:296:34: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[1]; r7 = X_HW[7] + Y_HW[2]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:298:10: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:298:34: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:299:10: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:299:34: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:300:10: note: in expansion of macro 'X_HW' r4 = X_HW[4]; r5 = X_HW[5]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:300:34: note: in expansion of macro 'X_HW' r4 = X_HW[4]; r5 = X_HW[5]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:301:10: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[0]; r7 = X_HW[7] + Y_HW[1]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:301:34: note: in expansion of macro 'X_HW' r6 = X_HW[6] + Y_HW[0]; r7 = X_HW[7] + Y_HW[1]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:303:10: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:303:34: note: in expansion of macro 'X_HW' r0 = X_HW[0]; r1 = X_HW[1]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:304:10: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:304:34: note: in expansion of macro 'X_HW' r2 = X_HW[2]; r3 = X_HW[3]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:305:10: note: in expansion of macro 'X_HW' r4 = X_HW[4]; r5 = X_HW[5]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:305:34: note: in expansion of macro 'X_HW' r4 = X_HW[4]; r5 = X_HW[5]; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:306:10: note: in expansion of macro 'X_HW' r6 = X_HW[6]; r7 = X_HW[7] + Y_HW[0]; break; ^~~~ scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:306:34: note: in expansion of macro 'X_HW' r6 = X_HW[6]; r7 = X_HW[7] + Y_HW[0]; break; ^~~~ addition_scs.c:318:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] carry = r7 >> SCS_NB_BITS; r6 += carry; r7 = r7 & SCS_MASK_RADIX; ^ addition_scs.c:319:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] carry = r6 >> SCS_NB_BITS; r5 += carry; r6 = r6 & SCS_MASK_RADIX; ^ addition_scs.c:320:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] carry = r5 >> SCS_NB_BITS; r4 += carry; r5 = r5 & SCS_MASK_RADIX; ^ addition_scs.c:321:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] carry = r4 >> SCS_NB_BITS; r3 += carry; r4 = r4 & SCS_MASK_RADIX; ^ addition_scs.c:322:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] carry = r3 >> SCS_NB_BITS; r2 += carry; r3 = r3 & SCS_MASK_RADIX; ^ addition_scs.c:323:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] carry = r2 >> SCS_NB_BITS; r1 += carry; r2 = r2 & SCS_MASK_RADIX; ^ addition_scs.c:324:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] carry = r1 >> SCS_NB_BITS; r0 += carry; r1 = r1 & SCS_MASK_RADIX; ^ addition_scs.c:328:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[7] = r6; R_HW[6] = r5; R_HW[5] = r4; R_HW[4] = r3; ^~ addition_scs.c:328:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[7] = r6; R_HW[6] = r5; R_HW[5] = r4; R_HW[4] = r3; ^~ addition_scs.c:328:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[7] = r6; R_HW[6] = r5; R_HW[5] = r4; R_HW[4] = r3; ^~ addition_scs.c:328:58: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[7] = r6; R_HW[6] = r5; R_HW[5] = r4; R_HW[4] = r3; ^~ addition_scs.c:329:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[3] = r2; R_HW[2] = r1; R_HW[1] = r0 & SCS_MASK_RADIX; ^~ addition_scs.c:329:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[3] = r2; R_HW[2] = r1; R_HW[1] = r0 & SCS_MASK_RADIX; ^~ addition_scs.c:329:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[3] = r2; R_HW[2] = r1; R_HW[1] = r0 & SCS_MASK_RADIX; ^ addition_scs.c:334:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ addition_scs.c:334:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ addition_scs.c:334:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ addition_scs.c:334:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[0] = r0; R_HW[1] = r1; R_HW[2] = r2; R_HW[3] = r3; ^~ addition_scs.c:335:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ addition_scs.c:335:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ addition_scs.c:335:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ addition_scs.c:335:57: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] R_HW[4] = r4; R_HW[5] = r5; R_HW[6] = r6; R_HW[7] = r7; ^~ addition_scs.c: In function 'do_sub': addition_scs.c:456:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s = X_HW[i] - Y_HW[i] - carry; ^ In file included from addition_scs.c:49:0: scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:456:10: note: in expansion of macro 'X_HW' s = X_HW[i] - Y_HW[i] - carry; ^~~~ addition_scs.c:466:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s = - X_HW[i] + Y_HW[i] - carry; ^ addition_scs.c:466:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] s = - X_HW[i] + Y_HW[i] - carry; ^ addition_scs.c:480:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s = X_HW[i] - Y_HW[j] - carry; ^ In file included from addition_scs.c:49:0: scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:480:8: note: in expansion of macro 'X_HW' s = X_HW[i] - Y_HW[j] - carry; ^~~~ addition_scs.c:482:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s = X_HW[i] - carry; ^ In file included from addition_scs.c:49:0: scs_private.h:101:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define X_HW x->h_word ^ addition_scs.c:482:8: note: in expansion of macro 'X_HW' s = X_HW[i] - carry; ^~~~ addition_scs.c:493:54: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] for(j=0; i