C++ compiler standard support
各種compiler
https://en.cppreference.com/w/cpp/compiler_support
Visual C++ Language Conformance
https://docs.microsoft.com/en-us/cpp/visual-cpp-language-conformance
MSVC的 C++ 支援狀況
比較重要的是 C++17 std:byte 和 Windows SDK中byte 打架的解法
把_HAS_STD_BYTE定義成0
command line的話加上 -D_HAS_STD_BYTE=0
不要std::boolean的話
-D_HAS_STD_BOOLEAN =0
https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8
/source-charset:utf-8
VS2017, VS2019效能比較
https://devblogs.microsoft.com/cppblog/game-performance-and-compilation-time-improvements-in-visual-studio-2019/
https://en.cppreference.com/w/cpp/compiler_support
Visual C++ Language Conformance
https://docs.microsoft.com/en-us/cpp/visual-cpp-language-conformance
MSVC的 C++ 支援狀況
比較重要的是 C++17 std:byte 和 Windows SDK中byte 打架的解法
把_HAS_STD_BYTE定義成0
command line的話加上 -D_HAS_STD_BYTE=0
不要std::boolean的話
-D_HAS_STD_BOOLEAN =0
https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8
/source-charset:utf-8
VS2017, VS2019效能比較
https://devblogs.microsoft.com/cppblog/game-performance-and-compilation-time-improvements-in-visual-studio-2019/
留言
張貼留言