Try to silence some warnings to reduce noise

pull/708/head
Michael 5 years ago
parent cc67794b43
commit 4806e52f62
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -13,7 +13,7 @@ endif()
get_filename_component(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-windows.c ABSOLUTE)
get_filename_component(EV_SRC "llarp/ev/ev_win32.cpp" ABSOLUTE)
add_definitions(-DWIN32_LEAN_AND_MEAN -DWIN32 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500)
add_definitions(-DWIN32_LEAN_AND_MEAN -DWIN32 -DWINVER=0x0500)
set(EXE_LIBS ${STATIC_LIB} ${FS_LIB} ws2_32 iphlpapi)
if(RELEASE_MOTTO)
@ -24,4 +24,4 @@ endif()
if (NOT STATIC_LINK_RUNTIME AND NOT MSVC)
message("must ship compiler runtime libraries with this build: libwinpthread-1.dll, libgcc_s_dw2-1.dll, and libstdc++-6.dll")
message("for release builds, turn on STATIC_LINK_RUNTIME in cmake options")
endif()
endif()

@ -100,8 +100,8 @@ namespace llarp
return _getpid();
#else
return ::getpid();
#endif
}
} // namespace util
} // namespace llarp

@ -66,7 +66,7 @@
#if !defined(_MSC_VER)
#include <sys/time.h>
#else
#include <winsock2.h>
#include <Winsock2.h>
#endif
#include <chrono> // NOLINT(build/c++11)
#include <cmath>

Loading…
Cancel
Save