ZOSOpenTools / gmpport

GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers.
Apache License 2.0
0 stars 0 forks source link

compilation error #2

Closed MikeFultonDev closed 9 months ago

MikeFultonDev commented 9 months ago
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..  -D__GMP_WITHIN_GMP -I.. -DNSIG=42 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -D_OPEN_SYS_FILE_EXT=1 -D_AE_BIMODAL=1 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF  -DZOSLIB_OVERRIDE_CLIB=1  -fzos-le-char-mode=ascii -std=gnu11 -mnocsect -fno-short-enums -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -mzos-target=zosv2r4 -O3  -I/home/fultonm/zopen/usr/local/zopen/ncurses/ncurses-6.4.20231114_180107.zos/include -isystem /home/fultonm/zopen/usr/local/zopen/zoslib/zoslib-zopen/include -include /home/fultonm/zopen/usr/local/zopen/zoslib/zoslib-zopen/include/zos-v2r5-symbolfixes.h -c -o limbs_read.lo limbs_read.c
inp_str.c:68:1: error: conflicting types for '__gmpz_inp_str_nowhite'
mpz_inp_str_nowhite (mpz_ptr x, FILE *stream, int base, int c, size_t nread)
^
../gmp-impl.h:1782:29: note: expanded from macro 'mpz_inp_str_nowhite'
#define mpz_inp_str_nowhite __gmpz_inp_str_nowhite
                            ^
inp_str.c:63:10: note: previous implicit declaration is here
  return mpz_inp_str_nowhite (x, stream, base, c, nread);
         ^
../gmp-impl.h:1782:29: note: expanded from macro 'mpz_inp_str_nowhite'
#define mpz_inp_str_nowhite __gmpz_inp_str_nowhite
                            ^
1 warning and 1 error generated.