diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-05 08:47:25 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-05 08:47:25 +0000 |
commit | f5cf3f16428610e9c67dc905412962c3b0b7f117 (patch) | |
tree | 121300bc725dd791a218879508aac60a95d5d97d /tests/tpow.c | |
parent | 36e314143dbb612efd079e50cb252f8e7d55c4ab (diff) | |
download | mpfr-f5cf3f16428610e9c67dc905412962c3b0b7f117.tar.gz |
Disable the "deprecated" attribute of deprecated functions *only* for
the tests of these functions, to avoid the corresponding warnings.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11896 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tpow.c')
-rw-r--r-- | tests/tpow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tpow.c b/tests/tpow.c index d5e968b3a..c96060433 100644 --- a/tests/tpow.c +++ b/tests/tpow.c @@ -23,6 +23,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include <float.h> #include <math.h> +#define _MPFR_NO_DEPRECATED_ROOT #include "mpfr-test.h" #ifdef CHECK_EXTERNAL |