diff tests/tests.h @ 959:8881967d087c

Silence gcrypt warnings in more places.
author Thomas Klausner <tk@giga.or.at>
date Thu, 28 Feb 2013 11:08:44 +0100
parents 51a056d78aba
children 98f43c0ddfa4
line wrap: on
line diff
--- a/tests/tests.h	Thu Feb 28 11:06:31 2013 +0100
+++ b/tests/tests.h	Thu Feb 28 11:08:44 2013 +0100
@@ -46,7 +46,9 @@
 
 #include <pthread.h>
 #include <errno.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
 
 /* Test timeout duration, unless -n is passed on the command line */
 #ifndef TEST_TIMEOUT
"Welcome to our mercurial repository"