[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Thu Nov 17 02:30:52 UTC 2016


details:   /var/hg/gmp/rev/44105d8de854
changeset: 17111:44105d8de854
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Thu Nov 17 03:30:26 2016 +0100
description:
Purge mention of mp.h.

details:   /var/hg/gmp/rev/a92a2f5b908e
changeset: 17112:a92a2f5b908e
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Thu Nov 17 03:30:43 2016 +0100
description:
Purge mention of mp.h.

diffstat:

 doc/gmp.texi |  4 ++--
 gmp-h.in     |  7 +------
 2 files changed, 3 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r 3a88af8e8c58 -r a92a2f5b908e doc/gmp.texi
--- a/doc/gmp.texi	Thu Nov 17 03:27:07 2016 +0100
+++ b/doc/gmp.texi	Thu Nov 17 03:30:43 2016 +0100
@@ -647,8 +647,8 @@
 @option{--exec-prefix} can be used to direct architecture-dependent files like
 @file{libgmp.a} to a different location.  This can be used to share
 architecture-independent parts like the documentation, but separate the
-dependent parts.  Note however that @file{gmp.h} and @file{mp.h} are
-architecture-dependent since they encode certain aspects of @file{libgmp}, so
+dependent parts.  Note however that @file{gmp.h} is
+architecture-dependent since it encodes certain aspects of @file{libgmp}, so
 it will be necessary to ensure both @file{$prefix/include} and
 @file{$exec_prefix/include} are available to the compiler.
 
diff -r 3a88af8e8c58 -r a92a2f5b908e gmp-h.in
--- a/gmp-h.in	Thu Nov 17 03:27:07 2016 +0100
+++ b/gmp-h.in	Thu Nov 17 03:30:43 2016 +0100
@@ -49,9 +49,6 @@
 #define GMP_NAIL_MASK     (~ GMP_NUMB_MASK)
 
 
-/* The following (everything under ifndef __GNU_MP__) must be identical in
-   gmp.h and mp.h to allow both to be included in an application or during
-   the library build.  */
 #ifndef __GNU_MP__
 #define __GNU_MP__ 5
 
@@ -232,8 +229,6 @@
 typedef __mpq_struct *mpq_ptr;
 
 
-/* This is not wanted in mp.h, so put it outside the __GNU_MP__ common
-   section. */
 #if __GMP_LIBGMP_DLL
 #ifdef __GMP_WITHIN_GMPXX
 /* compiling to go into a DLL libgmpxx */
@@ -2327,7 +2322,7 @@
 #define __GMP_CC "@CC@"
 #define __GMP_CFLAGS "@CFLAGS@"
 
-/* Major version number is the value of __GNU_MP__ too, above and in mp.h. */
+/* Major version number is the value of __GNU_MP__ too, above. */
 #define __GNU_MP_VERSION            6
 #define __GNU_MP_VERSION_MINOR      1
 #define __GNU_MP_VERSION_PATCHLEVEL 99


More information about the gmp-commit mailing list