Giter Site home page Giter Site logo

Comments (8)

Trass3r avatar Trass3r commented on July 21, 2024

You mean /permissive-?

from rx-ranges.

tkozybski avatar tkozybski commented on July 21, 2024

Yes

from rx-ranges.

simonask avatar simonask commented on July 21, 2024

I'm confused: Does it work with or without /permissive-? We build the tests and benchmarks with /permissive-, and I would be rather surprised to see something compile in non-permissive mode that does compile in permissive mode. Still, would not be the first time MSVC surprised me...

@tkozybski Can you check if this is still a problem in the version 2.0 branch (#10)?

from rx-ranges.

tkozybski avatar tkozybski commented on July 21, 2024

I'm confused: Does it work with or without /permissive-? We build the tests and benchmarks with /permissive-, and I would be rather surprised to see something compile in non-permissive mode that does compile in permissive mode. Still, would not be the first time MSVC surprised me...

@tkozybski Can you check if this is still a problem in the version 2.0 branch (#10)?

@simonask IIt doesn't compile if Conformance Mode is set to "No", with 2.0 as well. It does compile with VS2019 though (platform toolset v142, doesn't work on v141).

from rx-ranges.

simonask avatar simonask commented on July 21, 2024

Ah, now I see. I'll take a look at it. :-)

from rx-ranges.

simonask avatar simonask commented on July 21, 2024

Ok, the issue seems to be that VS2017 does not parse C++17 fold expressions correctly. Microsoft claims that the latest versions of VS2017 had a number of bugs fixed related to fold expressions, but apparently not enough, which is unfortunate.

@tkozybski Is using VS2019 not an option for you?

I am closing this for now, since supporting buggy compilers is not a goal.

from rx-ranges.

Trass3r avatar Trass3r commented on July 21, 2024

It fails without that mode too: https://godbolt.org/z/N8T5n5

@tkozybski Is using VS2019 not an option for you?

Yep, since they are binary compatible there's no good reason not to.

from rx-ranges.

Kijewski avatar Kijewski commented on July 21, 2024

Version 2.0 works in MSVC 19.20 and higher: https://godbolt.org/z/ryyBvJ

from rx-ranges.

Related Issues (10)

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.