[WINDOWS][MSVC] Fix MSVC warnings (#6450)
authorTianqi Chen <tqchen@users.noreply.github.com>
Fri, 11 Sep 2020 20:15:13 +0000 (13:15 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Sep 2020 20:15:13 +0000 (13:15 -0700)
commit5601be634469e4c77b3791be92d25f20d07154fe
tree1d02ac13b0ffde16b9d9e968a335e0b9738d5eca
parentea321df95e8428f265e2d718679bb2b3d6070809
[WINDOWS][MSVC] Fix MSVC warnings (#6450)

* [WINDOWS][MSVC] Fix MSVC warnings

This PR fixes various warnings bought by MSVC.

TODO: deprecate `__tvm_main__` symbol and update
testcase so windows works as normal.

* Fix unicode problem in data_layout
16 files changed:
.github/workflows/main.yml
3rdparty/compiler-rt/builtin_fp16.h
CMakeLists.txt
apps/cpp_rpc/rpc_env.cc
include/tvm/node/container.h
include/tvm/runtime/container.h
include/tvm/runtime/object.h
include/tvm/te/operation.h
include/tvm/tir/data_layout.h
python/tvm/contrib/cc.py
src/arith/modular_set.cc
src/node/serialization.cc
src/runtime/rpc/rpc_endpoint.cc
src/target/llvm/codegen_cpu.cc
src/target/llvm/llvm_common.h
src/te/autodiff/adjoint.cc