Paul Zimmermann Paul.Zimmermann at
Mon Aug 22 14:17:08 CEST 2022


the fine manual says:

   All declarations needed to use GMP are collected in the include file
   'gmp.h'.  It is designed to work with both C and C++ compilers.

	#include <gmp.h>

      Note however that prototypes for GMP functions with 'FILE *'
   parameters are only provided if '<stdio.h>' is included too.

	#include <stdio.h>
	#include <gmp.h>

What is the reason why <stdio.h> is not included by default?

Best regards,

More information about the gmp-devel mailing list