diff --git a/include/mutex.h b/include/mutex.h index eca995334b22e1977fe26e512783fe196474e49a..ea72f508bc8da356abcff232157439f02c7d7727 100644 --- a/include/mutex.h +++ b/include/mutex.h @@ -1,5 +1,5 @@ #ifndef TARANTOOL_MUTEX_H_INCLUDED -#define TARNATOOL_MUTEX_H_INCLUDED +#define TARANTOOL_MUTEX_H_INCLUDED /* * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following diff --git a/src/box/box_lua.cc b/src/box/box_lua.cc index 5571340f1ba190e4491afb3f201683f55890255b..a96e1898f309b13d3e6143ed99a4f546b3629731 100644 --- a/src/box/box_lua.cc +++ b/src/box/box_lua.cc @@ -53,6 +53,8 @@ extern "C" { #include "tbuf.h" #include "scoped_guard.h" +#pragma clang diagnostic ignored "-Wdeprecated" + /* contents of box.lua, misc.lua, box.net.lua respectively */ extern char box_lua[], box_net_lua[], misc_lua[]; static const char *lua_sources[] = { box_lua, box_net_lua, misc_lua, NULL }; diff --git a/src/evio.cc b/src/evio.cc index 23af2a45aa1d21b0f72164da4a0b42c7ec85f97c..ea5c658174fa65fbde6c8b8f2824752aef842108 100644 --- a/src/evio.cc +++ b/src/evio.cc @@ -38,6 +38,8 @@ #define BIND_RETRY_DELAY 0.1 +#pragma clang diagnostic ignored "-Wdeprecated" + /** * Try to convert IPv4 or IPv6 addresses from text to binary form. * sa buf must be sizeo of sizeof(sockaddr_in6). diff --git a/src/replica.cc b/src/replica.cc index 43595230758a6c1303d862415ceb75b8c08590ec..b0b97edffcef05e67d6d40b26141863a97a8cdd9 100644 --- a/src/replica.cc +++ b/src/replica.cc @@ -38,6 +38,8 @@ #include "coio_buf.h" #include "tarantool.h" +#pragma clang diagnostic ignored "-Wdeprecated" + static void remote_apply_row(struct recovery_state *r, const char *row, uint32_t rowlne); diff --git a/src/sio.cc b/src/sio.cc index a069cd9d7517745beb9ab807193020336ac84719..43bcb2119b0c1a422494d7d512b85ccad1fc6314 100644 --- a/src/sio.cc +++ b/src/sio.cc @@ -306,6 +306,7 @@ sio_recvfrom(int fd, void *buf, size_t len, int flags, } /** Get socket peer name. */ +#pragma clang diagnostic ignored "-Wdeprecated" int sio_getpeername(int fd, struct sockaddr_in *addr) {