From 32c19c6c3d677564d217ba31c16fdfc84b4faf80 Mon Sep 17 00:00:00 2001 From: rfree2monero Date: Fri, 10 Apr 2015 16:13:57 +0200 Subject: [fix] log level change. compilation: dns, tests old unbound #warning does not block compilation unit tests build fine. Even though the RPC/P2P network type is required again --- src/common/dns_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/dns_utils.cpp') diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp index ece24cf9f..ea7f1078b 100644 --- a/src/common/dns_utils.cpp +++ b/src/common/dns_utils.cpp @@ -167,7 +167,7 @@ DNSResolver::DNSResolver() : m_data(new DNSResolverData()) ub_ctx_hosts(m_data->m_ub_context, NULL); #ifdef DEVELOPER_LIBUNBOUND_OLD - #warning "Using the work around for old libunbound" + #pragma message "Using the work around for old libunbound" { // work around for bug https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=515 needed for it to compile on e.g. Debian 7 char * ds_copy = NULL; // this will be the writable copy of string that bugged version of libunbound requires try { -- cgit v1.2.3