You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Open VS2022 x64 Tools command .
git clone C:\gitP\Tencent\mars C:\gitP\Tencent\mars(The commit SHA we use is 6c71f72)
Build project from scratch.
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:
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]
C:\gitP\Tencent\mars\mars\boost\iostreams\positioning.hpp(107,13): error C3861: '_FPOSOFF': identifier not found [C:\gitP\Tencent\mars\mars\build_amd64\comm\ comm.vcxproj]
Please investigate this issue as well, thank you Build (5).log
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: