GithubHelp home page GithubHelp logo

Comments (3)

apolukhin avatar apolukhin commented on May 21, 2024

Yes, MSVC unfortunately works with structured bindings only. Other template metaprogramming tricks fail right now.

You can find the lines for explicitly disabling the tests here: https://github.com/apolukhin/magic_get/blob/6f35c872c88783a3e5da44f653ee22580472f208/test/Jamfile.v2#L18-L22

The situation may have changed since last time I was testing on MSVC. Right now I have no access to the latest MSVC. So if it is possible to enable some tests (probably with workarounding some issues) I'd be happy to merge the patches.

from pfr.

apolukhin avatar apolukhin commented on May 21, 2024

I've tried to reenable at least some of the MSVC test, but the compiler keeps crashing with the following message:

..\..\..\boost/pfr/detail/fields_count.hpp(95): fatal error C1001: Internal compiler error.
(compiler file 'd:\agent\_work\8\s\src\vctools\Compiler\CxxFE\sl\p1\cxx\parsetree\nodes.h', line 398)
 To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com 
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
    call "..\..\..\bin.v2\standalone\msvc\msvc-14.2\address-model-64\architecture-x86\msvc-setup.bat"  >nul

from pfr.

apolukhin avatar apolukhin commented on May 21, 2024

There's no more flat version in the library and the testing logic was rewritten.

Now MSVC runs more tests and I do enable more of those as soon as MSVC gets the required functionality

from pfr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.