-
Notifications
You must be signed in to change notification settings - Fork 6.8k
dmlc::type_name_helper<T> specialization of mxnet::tuple<T> should not be disabled for MSVC #15143
Comments
Hey, this is the MXNet Label Bot. |
(CC: @reminisce) Thanks for bringing this up! Please be aware that I am not the original author of the file, and I am not super familiar with MSVC. @reminisce Is there any reason that we disable this? |
@mxnet-label-bot add [Windows] |
I read the #15144 ,modified the line " #if !defined(_MSC_VER)" which is 744 to "#if !(defined(_MSC_VER) && _MSC_VER < 1900)" .Then, compile again that config includes USE_CPP_PACKAGE, my operating system is win10 x64 and IDE is Visual Studio 2015. |
Relax Visual Studio version constraint in the specialization of `dmlc::type_name_helper<DT>` for `DT=mxnet::Tuple<T>`
Relax Visual Studio version constraint in the specialization of `dmlc::type_name_helper<DT>` for `DT=mxnet::Tuple<T>`
Description
In this PR, @junrushao1994 brought
mxnet::Tuple<T>
to mxnet.For the specialization of
dmlc::type_name_helper<T>
, it was disabled completely for MSVC:It then brought up an issue that has not been solved in 4 months: #14116, and costed me some effort to dig it out.
Since this choice brought more problem than it was intended to solve ("avoid low version of MSVC"), I think we should at least:
#if
block completely.Build info
Compiler: Visual Studio 2019
MXNet commit hash: 9125f6a
Build config:
Error Message:
Steps to reproduce
See #14116 (comment)
What have you tried to solve it?
See #14116 (comment)
Environment info
Package used (Python/R/Scala/Julia): Cpp
The text was updated successfully, but these errors were encountered: