Skip to content

Conversation

rustyx
Copy link

@rustyx rustyx commented Jun 25, 2018

The example doesn't compile in MSVC:

1>\crow\examples\example_vs.cpp(96): error C2838: 'POST': illegal qualified name in member declaration
1>\crow\examples\example_vs.cpp(96): error C2065: 'POST': undeclared identifier
1>\crow\examples\example_vs.cpp(125): error C2838: 'DEBUG': illegal qualified name in member declaration
1>\crow\examples\example_vs.cpp(125): error C2065: 'DEBUG': undeclared identifier

This PR fixes it.

@ioriha
Copy link

ioriha commented Jun 27, 2018

I encounter this bug today and solve this by your method. Good job!!!

thinking-tower added a commit to thinking-tower/crow that referenced this pull request May 23, 2021
HTTPMethod::Get and HTTPMethod::OPTIONS to HTTPMethod::Options.

VS2019 error:
enum "crow::HTTPMethod" has no member "HEAD"
enum "crow::HTTPMethod" has no member "GET"
enum "crow::HTTPMethod" has no member "OPTIONS"

See ipkn/crow#307 for a similar issue.
GerHobbelt pushed a commit to GerHobbelt/crow that referenced this pull request Jan 16, 2022
Fix inconsistencies in `concurrency`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants