[Bug 297563] math/gmp: build failure: inp_str.c:68:1: error: conflicting types for '__gmpz_inp_str_nowhite'

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297563

            Bug ID: 297563
           Summary: math/gmp: build failure: inp_str.c:68:1: error:
                    conflicting types for '__gmpz_inp_str_nowhite'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

On recent CURRENT (FreeBSD 16.0-CURRENT #4 main-n288314-06aaca43fe05: Sat Aug
15 08:07:26 CEST 2026 amd64) with recent ports tree, port math/gmp fails to
build due to conflicting types for '__gmpz_inp_str_nowhite' as shown below:


[...]
inp_str.c:63:10: warning: call to undeclared function '__gmpz_inp_str_nowhite';
ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
   63 |   return mpz_inp_str_nowhite (x, stream, base, c, nread);
      |          ^
../gmp-impl.h:1782:29: note: expanded from macro 'mpz_inp_str_nowhite'
 1782 | #define mpz_inp_str_nowhite __gmpz_inp_str_nowhite
      |                             ^
inp_str.c:68:1: error: conflicting types for '__gmpz_inp_str_nowhite'
   68 | 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'
 1782 | #define mpz_inp_str_nowhite __gmpz_inp_str_nowhite
      |                             ^
inp_str.c:63:10: note: previous implicit declaration is here
   63 |   return mpz_inp_str_nowhite (x, stream, base, c, nread);
      |          ^
../gmp-impl.h:1782:29: note: expanded from macro 'mpz_inp_str_nowhite'
 1782 | #define mpz_inp_str_nowhite __gmpz_inp_str_nowhite
      |                             ^
--- getlimbn.lo ---

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.