Fix compile break when building with the Microsoft STL#1315
Fix compile break when building with the Microsoft STL#1315ChristophStrehle wants to merge 1 commit intoweidai11:masterfrom
Conversation
Fix a compile break when building with the Microsoft STL and a compiler other then MSVC. For example when building with clang-cl
|
Is it necessary to define STL version? and |
|
Hello irwir, first of all sorry for the late reply. To be honest I don't know if this would be enough but maybe I can explain better how I came up with this. This check was introduced with this commit in the following form: and according to the Microsoft documentation For Visual Studio 2008 the corresponding STL version can be detected with As this code is not needed to fix a compile break with the MSVC compiler but with the Microsoft STL I changed the check to the corresponding STL version instead of the MSVC compiler. And I added all the other versions for completeness. |
Your STL version detection relies on
More like over-engeneering than completeness. |
|
Hello irwi, |
|
Have you read carefully the issue 147 referenced in the mentioned PR? If definition of |
Fixed issue: #1311