-
Notifications
You must be signed in to change notification settings - Fork 324
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
[BUG]Build fails under Windows platform #3366
Comments
Additionally, after we applied the patch, we got another error when building: C:\gitP\Tencent\mars\mars\boost\iostreams\positioning.hpp(96,16): error C2039: 'seekpos': is not a member of 'std::fpos<_Mbstatet>' [C:\gitP\Tencent\mars\mars\build_amd64\comm\comm.vcxproj] |
Bug description
The MSVC team recently added Mars as part of RWC testing to detect compiler regression. Seems the project will fail to build under Windows due to error C1189: #error: unsupported platform. Could you please take a look?
To Reproduce
Expected behavior
Build passed.
Additional context
The problem seems to be that some compilation errors occurred when compiling the Mars project using Visual Studio 2022, which involved some header files of the OpenSSL library, resulting in error C1189: unsupported platform error.
Build (3).log
Attached is the build log.
We found the problematic header file and found that line 16 caused the error. We have applied a patch to fix this issue.
Mars_platform_fix.patch
If you need more information or have any questions, please leave a message under this issue.
The text was updated successfully, but these errors were encountered: