summaryrefslogtreecommitdiff
path: root/tests/tgrandom.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-05 08:47:25 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-05 08:47:25 +0000
commitf5cf3f16428610e9c67dc905412962c3b0b7f117 (patch)
tree121300bc725dd791a218879508aac60a95d5d97d /tests/tgrandom.c
parent36e314143dbb612efd079e50cb252f8e7d55c4ab (diff)
downloadmpfr-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/tgrandom.c')
-rw-r--r--tests/tgrandom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tgrandom.c b/tests/tgrandom.c
index 1d3967251..74ef6486c 100644
--- a/tests/tgrandom.c
+++ b/tests/tgrandom.c
@@ -20,6 +20,7 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
+#define _MPFR_NO_DEPRECATED_GRANDOM
#include "mpfr-test.h"
static void