Closed egorpugin closed 3 years ago
This need to be solved urgently
@Milerius MPL has no dedicated maintainer and the issue is not a regression, you best bet is to develop a fix and file it via pull request
This is for clang on Windows targeting vc++. I have clang on Windows targeting vc++ and am able to test this using a the clang-win.jam file, but I need a simple example to test this issue. If just run the mpl tests with clang-win and the latest clang-10.0 on Windows targeting vc++ I see no failures in the tests. Please give a command line and some code where this bug is manifest. Whatever is the code you give in your initial post above I have no idea what is being compiled and what trhe clang command line is.
Seems this was fixed with newer boost. The fix is in this commit https://github.com/matbech/mpl/commit/d5fc194ce164301250f6feea9f194ccffdafb4f0
Error:
This is caused by following line in files:
and.hpp
,bitand.hpp
,or.hpp
,bitor.hpp
:This is not true anymore today. Commenting out the second conditions helps. Pure clang defines
_MSC_VER
plus__clang__
on windows.