diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2012-02-18 14:11:51 +0100 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2012-02-18 14:11:51 +0100 |
commit | c16c1b832045b50fbfd777179aa2e987b852a30c (patch) | |
tree | f2980831b0288f045ed9962ed9519ccae318c1bf | |
parent | 0a930a699bb4418754338f2eb07bda931f3a42fa (diff) | |
download | gmp-c16c1b832045b50fbfd777179aa2e987b852a30c.tar.gz |
Comment out long double function declarations. Half of them were already commented out, and the other half had declarations but no definitions.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | gmpxx.h | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -3,6 +3,8 @@ * gmpxx.h (std::common_type): New partial specialization in C++11. * tests/cxx/t-cxx11.cc: Test it. + * gmpxx.h: Don't declare long double functions that are never defined. + 2012-02-17 Marc Glisse <marc.glisse@inria.fr> * gmp-h.in (__GMP_WITHIN_GMP): Test with #ifdef instead of #if, for @@ -1406,7 +1406,7 @@ private: __gmp_expr & fun(unsigned long int); \ __gmp_expr & fun(float); \ __gmp_expr & fun(double); \ - __gmp_expr & fun(long double); + /* __gmp_expr & fun(long double); */ #define __GMP_DECLARE_COMPOUND_OPERATOR(fun) \ __GMPP_DECLARE_COMPOUND_OPERATOR(fun) \ @@ -2832,7 +2832,7 @@ __GMPNS_DEFINE_BINARY_FUNCTION(fun, eval_fun, signed long int) \ __GMPNU_DEFINE_BINARY_FUNCTION(fun, eval_fun, unsigned long int) \ __GMPND_DEFINE_BINARY_FUNCTION(fun, eval_fun, float) \ __GMPND_DEFINE_BINARY_FUNCTION(fun, eval_fun, double) \ -__GMPNLD_DEFINE_BINARY_FUNCTION(fun, eval_fun, long double) +/* __GMPNLD_DEFINE_BINARY_FUNCTION(fun, eval_fun, long double) */ #define __GMP_DEFINE_BINARY_FUNCTION(fun, eval_fun) \ __GMPP_DEFINE_BINARY_FUNCTION(fun, eval_fun) \ @@ -2905,7 +2905,7 @@ __GMPNS_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun, signed long int) \ __GMPNU_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun, unsigned long int) \ __GMPND_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun, float) \ __GMPND_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun, double) \ -__GMPNLD_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun, long double) +/* __GMPNLD_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun, long double) */ #define __GMP_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun) \ __GMPP_DEFINE_BINARY_TYPE_FUNCTION(type, fun, eval_fun) \ |