-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fastrtps fails to compile on greater than or equal to msvc version 19.38.32926.95 #3783
Comments
cc @MiguelCompany. |
Yes - according to the C++ Standard, The rename from |
@MiguelCompany, Do you fix this by comparing the STL version, or by comparing with 0? |
@StephanTLavavej @MiguelCompany The functions |
Is there an already existing issue for this?
Expected behavior
No error
Current behavior
Hello, I'm a member of Microsoft VCPKG, when I built this port in an internal version of MSVC, it failed with following errors:
E:\Jim\vcpkg\buildtrees\fastrtps\src\v2.11.1-d9ab4e5ea6\include\fastrtps/utils/TimedMutex.hpp(177): error C2065: '_Thrd_success': undeclared identifier
Steps to reproduce
Build with MSVC 19.38.32926.95 and above, _Thrd_success is modified to _Thrd_result::_Success since microsoft/STL#3897, it's an upcoming release.
Fast DDS version/commit
2.7.0. For details, see: fastrtps/vcpkg.json
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
Windows
Visual Studio
The STL developers suggest that we should not be using internal STL identifiers. Also practice STL developer if you have other questions.
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: