American Citizen on Tue, 01 Apr 2025 21:58:58 +0200


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

question on build warning


Is this warning something to be concerned about?

I built using the --time=ftime option on the Configure line in the root folder /home/owner/math/pari-2.18.0-251-g5d3c5ac62a/

% ./Configure --tune --mt=pthread --time=ftime --with-gmp --with-readline

And noticed this occurred twice.

/usr/bin/gcc-13  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing    -o init.o ../src/language/init.c
../src/language/init.c: In function ‘timer_start’:
../src/language/init.c:2769:3: warning: ‘ftime’ is deprecated [-Wdeprecated-declarations]
 2769 |   ftime(&t);
      |   ^~~~~
In file included from ../src/language/init.c:47:
/usr/include/sys/timeb.h:39:12: note: declared here
   39 | extern int ftime (struct timeb *__timebuf)
      |            ^~~~~
/usr/bin/gcc-13  -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing    -o intnum.o ../src/language/intnum.c

                                                     GP/PARI CALCULATOR Version 2.18.1 (development git-5d3c5ac62a)                                                       amd64 running linux (x86-64/GMP-6.3.0 kernel) 64-bit version
compiled: Apr  1 2025, gcc version 13.3.0 (SUSE Linux)
threading engine: pthread, nbthreads = 6
(readline v7.0 enabled, extended help enabled)

Copyright (C) 2000-2025 The PARI Group