diff --git a/libs/fscp/src/server.cpp b/libs/fscp/src/server.cpp index 36924143..622ce4c3 100644 --- a/libs/fscp/src/server.cpp +++ b/libs/fscp/src/server.cpp @@ -53,7 +53,16 @@ #include "session_message.hpp" #include "data_message.hpp" +// Mac OSX version of Boost has shadowing warnings that fail the build. +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wshadow" +#endif #include +#ifdef __clang__ +#pragma clang diagnostic pop +#endif + #include #include #include