Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error C3861: '_parse_input': identifier not found. #794

Closed
robert-andrzejuk opened this issue Jun 27, 2018 · 4 comments
Closed

error C3861: '_parse_input': identifier not found. #794

robert-andrzejuk opened this issue Jun 27, 2018 · 4 comments

Comments

@robert-andrzejuk
Copy link
Contributor

robert-andrzejuk commented Jun 27, 2018

Using: VS 2017 Preview (15.8.3)

In the file streams.h line 1750 method parse calls the protected template function _parse_input from a template base class.

This gives an error: cpprestsdk\release\include\cpprest\streams.h(1750): error C3861: '_parse_input': identifier not found

The solution is to prefix this call with the type: _type_parser_base<CharType>.

@robert-andrzejuk
Copy link
Contributor Author

Related Visual Studio issue:
https://developercommunity.visualstudio.com/content/problem/238445/template-class-cant-access-protected-member-when-c.html

Problem is that my code is compiling with /permissive-, so the template functions are affected by this issue.

@robert-andrzejuk
Copy link
Contributor Author

Created a pull request for a fix: #809

@robert-andrzejuk
Copy link
Contributor Author

PR merged.

@ChristophePichaud
Copy link

I updated to 15.8.3 and compilation failed ! a shame !
Why does the libraries are not recompiled on each release of the compiler ????????
It's so simple... A so big mistake !!!!

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

No branches or pull requests

2 participants