Bug when compiling with gcc 15

Vincent Lefevre vincent at vinc17.net
Fri Aug 22 02:27:17 CEST 2025


On 2025-08-22 02:04:24 +0200, Vincent Lefevre wrote:
> On 2025-08-20 22:20:23 -0500, Dima Pasechnik wrote:
> > it's not new, already fixed in gmp trunk, as far as I can see:
> > 
> > <https://gmplib.org/list-archives/gmp-devel/2025-March/006294.html>
> 
> If I understand correctly, this is for compatibility with older GCC
> versions, such as GCC 10:
> 
> "This allows it to compile with older gcc e.g. gcc-10
> which does not have allow parameter name omission"

The history:

* The first report:
  https://gmplib.org/list-archives/gmp-bugs/2024-November/005550.html

* The initial fix:
  https://gmplib.org/list-archives/gmp-devel/2025-January/006281.html

But this was not compatible with "old" compilers. So, the second fix
at the above cited link.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list