Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix warnings #14940

Closed
wants to merge 14 commits into from
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ else(MSVC)
add_definitions(-DMSHADOW_USE_F16C=0)
endif()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unknown-pragmas -Wno-sign-compare")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-local-typedefs")
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES ".*Clang$")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-braced-scalar-init")
endif()
Expand Down
2 changes: 2 additions & 0 deletions include/mxnet/executor.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

#include <dmlc/base.h>
#include <vector>
#include <unordered_map>
larroy marked this conversation as resolved.
Show resolved Hide resolved
#include <unordered_set>
#include <memory>
#include <map>
#include <string>
Expand Down
Loading