summaryrefslogtreecommitdiff
path: root/gmp.texi
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-07-03 00:46:21 +0200
committerKevin Ryde <user42@zip.com.au>2001-07-03 00:46:21 +0200
commita43c5742084c204c1945f8d108b7b94eba0c3a58 (patch)
treeb904b19d55a009d46ac7343f62238c5873a57f13 /gmp.texi
parent09eae776bcf3be818af136025c2e5d0153e0ed28 (diff)
downloadgmp-a43c5742084c204c1945f8d108b7b94eba0c3a58.tar.gz
* gmp.texi (GMP Basics): Note the need for stdio.h to get FILE
prototypes.
Diffstat (limited to 'gmp.texi')
-rw-r--r--gmp.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/gmp.texi b/gmp.texi
index b92f92ddb..2d98187c2 100644
--- a/gmp.texi
+++ b/gmp.texi
@@ -1341,6 +1341,18 @@ assembled by the Ultrix assembler.
All declarations needed to use GMP are collected in the include file
@file{gmp.h}. It is designed to work with both C and C++ compilers.
+@example
+#include <gmp.h>
+@end example
+
+Note however that prototypes for GMP functions with @code{FILE *} parameters
+are only provided if @code{<stdio.h>} is included too.
+
+@example
+#include <stdio.h>
+#include <gmp.h>
+@end example
+
@strong{Using functions, macros, data types, etc.@: not documented in this
manual is strongly discouraged. If you do so your application is guaranteed
to be incompatible with future versions of GMP.}