Typedef iplist_impl_type twice(in Base Class and Sub Class) cause visual studio compiling failed in external projects.
Specifically (https://github.com/pytorch/glow).
The error looks like this:
“E:\CI-Cor-Ready\ai\face-live-detection\build\ALL_BUILD.vcxproj”(默认目标) (1) -> “E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\tests\unittests\BackendCorrectnessTest.vcxproj”(默认目标) (3) - > “E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Backends\Backends.vcxproj”(默认目标) (4) -> “E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Backends\Interpreter\Interpreter.vcxproj”(默认目标) (5) -> “E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\ExecutionEngine\ExecutionEngine.vcxproj”(默认目标) (6) -> “E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Optimizer\Optimizer.vcxproj”(默认目标) (7) -> “E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Quantization\Quantization.vcxproj”(默认目标) (8) -> “E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Graph\Graph.vcxproj”(默认目标) (14) -> (ClCompile 目标) -> e:\ci-cor-ready\ai\face-live-detection\llvm\include\llvm\adt\ilist.h(405): error C4596: 'iplist_impl_type': illegal q ualified name in member declaration (compiling source file E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\A utoGenInstr.cpp) [E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Graph\Graph.vcxproj] e:\ci-cor-ready\ai\face-live-detection\llvm\include\llvm\adt\ilist.h(405): error C4596: 'iplist_impl_type': illegal q ualified name in member declaration (compiling source file E:\CI-Cor-Ready\ai\face-live-detection\llvm\projects\glow\li b\Graph\Graph.cpp) [E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Graph\Graph.vcxproj] e:\ci-cor-ready\ai\face-live-detection\llvm\include\llvm\adt\ilist.h(405): error C4596: 'iplist_impl_type': illegal q ualified name in member declaration (compiling source file E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\A utoGenIRBuilder.cpp) [E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Graph\Graph.vcxproj] e:\ci-cor-ready\ai\face-live-detection\llvm\include\llvm\adt\ilist.h(405): error C4596: 'iplist_impl_type': illegal q ualified name in member declaration (compiling source file E:\CI-Cor-Ready\ai\face-live-detection\llvm\projects\glow\li b\Graph\Grad.cpp) [E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Graph\Graph.vcxproj] e:\ci-cor-ready\ai\face-live-detection\llvm\include\llvm\adt\ilist.h(405): error C4596: 'iplist_impl_type': illegal q ualified name in member declaration (compiling source file E:\CI-Cor-Ready\ai\face-live-detection\llvm\projects\glow\li b\Graph\Node.cpp) [E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Graph\Graph.vcxproj] e:\ci-cor-ready\ai\face-live-detection\llvm\include\llvm\adt\ilist.h(405): error C4596: 'iplist_impl_type': illegal q ualified name in member declaration (compiling source file E:\CI-Cor-Ready\ai\face-live-detection\llvm\projects\glow\li b\Graph\Nodes.cpp) [E:\CI-Cor-Ready\ai\face-live-detection\build\projects\glow\lib\Graph\Graph.vcxproj]