Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Add -std:c++17 option on Windows to allow [[fallthrough]] attribute #215

Closed

Conversation

emerick
Copy link
Contributor

@emerick emerick commented May 5, 2019

Fixes #214

@emerick
Copy link
Contributor Author

emerick commented May 5, 2019

@bbondy Could use a review on this one...

@emerick
Copy link
Contributor Author

emerick commented Mar 6, 2020

Closing this as the Microsoft compiler was updated to address the underlying problem (it should have only ever propduced a warning rather than an error; see https://developercommunity.visualstudio.com/content/problem/315417/error-c2429-on-fallthrough.html).

Just verified that this builds as expected on Windows with Visual Studio Community 2019.

@emerick emerick closed this Mar 6, 2020
@emerick emerick deleted the windows-build-failure branch March 6, 2020 20:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails to compile on Windows
3 participants