diff --git a/CMakeLists.txt b/CMakeLists.txt index 64e6c6b..0b8ded6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,6 +323,7 @@ if(MSVC) # Treat some warnings as errors set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /we4133") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /we4013") # Enable /Zc:strictStrings when msvc_ver > 2012 and build_type != Debug if((MSVC_VERSION GREATER 1700) AND NOT (CMAKE_BUILD_TYPE STREQUAL "Debug")) diff --git a/tests/test_stl_infos.c b/tests/test_stl_infos.c index 2bd6dec..438d1bf 100644 --- a/tests/test_stl_infos.c +++ b/tests/test_stl_infos.c @@ -34,6 +34,7 @@ #include "../src/gmio_core/error.h" #include "../src/gmio_stl/stl_error.h" #include "../src/gmio_stl/stl_infos.h" +#include "../src/gmio_core/internal/helper_stream.h" #include #include