fix #132: build static libs
[awesomized/libmemcached] / src / libmemcached / error.cc
index b8f0cc336c1b2574370715bcb6b484bcff74f3cb..b5a2024d3158c8dce99e2339f92ef4661a83117d 100644 (file)
@@ -1,6 +1,6 @@
 /*
     +--------------------------------------------------------------------+
-    | libmemcached - C/C++ Client Library for memcached                  |
+    | libmemcached-awesome - C/C++ Client Library for memcached          |
     +--------------------------------------------------------------------+
     | Redistribution and use in source and binary forms, with or without |
     | modification, are permitted under the terms of the BSD license.    |
@@ -9,7 +9,7 @@
     | the terms online at: https://opensource.org/licenses/BSD-3-Clause  |
     +--------------------------------------------------------------------+
     | Copyright (c) 2006-2014 Brian Aker   https://datadifferential.com/ |
-    | Copyright (c) 2020 Michael Wallner   <mike@php.net>                |
+    | Copyright (c) 2020-2021 Michael Wallner        https://awesome.co/ |
     +--------------------------------------------------------------------+
 */
 
@@ -191,10 +191,6 @@ memcached_return_t memcached_set_error(memcached_instance_st &self, memcached_re
   return memcached_set_error(self, rc, at, tmp);
 }
 
-#ifndef __INTEL_COMPILER
-#  pragma GCC diagnostic ignored "-Wformat-nonliteral"
-#endif
-
 memcached_return_t memcached_set_error(Memcached &memc, memcached_return_t rc, const char *at,
                                        memcached_string_t &str) {
   assert_msg(rc != MEMCACHED_ERRNO,