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

Unable to compile with VS 2017 RC, VS 2015 works fine #226

Closed
jhruby opened this issue Feb 17, 2017 · 6 comments
Closed

Unable to compile with VS 2017 RC, VS 2015 works fine #226

jhruby opened this issue Feb 17, 2017 · 6 comments

Comments

@jhruby
Copy link

jhruby commented Feb 17, 2017

struct app_context
{
auth::authentication_service& authentication_service;
};

auto injector = di::make_injector(
di::bindauth::authentication_service().toauth::impl::authentication_service() );

auto app_context = injector.createweb::app_context();

I am using compiler switch /std:c++14 and X64 build.

C:\workspaces\closure.web\src\libs\di-cpp14\include\boost\di.hpp(1842): error C2248: 'boost::di::v1_0_0::scopes::deduce::scope<TExpected,TGiven>::is_referable<const closure::auth::authentication_service&>': cannot access private member declared in class 'boost::di::v1_0_0::core::dependency<TScope,TExpected,T,TName,TPriority>'

@jhruby
Copy link
Author

jhruby commented Apr 3, 2017

Did actually someone read this issue?

@ColinDuquesnoy
Copy link

I am facing the same issue with VS 2017 Community Edition.

@kant2002
Copy link

kant2002 commented Aug 5, 2017

@kris-jusiak Any news on this ?

@nesteruk
Copy link

Same issue here!

@krzysztof-jusiak
Copy link
Collaborator

I believe it should be fixed by fe57643?

@krzysztof-jusiak
Copy link
Collaborator

Fixed and verified by appveyor -> https://ci.appveyor.com/project/krzysztof-jusiak/di/history

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

5 participants