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

WaitObjectsTracer causes dirty compile under VS2015 #56

Closed
noloader opened this issue Nov 1, 2015 · 8 comments
Closed

WaitObjectsTracer causes dirty compile under VS2015 #56

noloader opened this issue Nov 1, 2015 · 8 comments

Comments

@noloader
Copy link
Collaborator

noloader commented Nov 1, 2015

Maximilian Zamorsky reports WaitObjectsTracer causes dirty compile under VS2015:

1>  network.cpp
1>...\cryptopp\wait.h(141): error C2220: warning treated as error - no 'object' file generated
1>...\cryptopp\wait.h(141): warning C4589: Constructor of abstract class 'WaitObjectsTracer' ignores initializer for virtual base class 'Tracer'
1>  ...\cryptopp\wait.h(141): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
1>  ...\cryptopp\wait.h(141): note: virtual base classes are only initialized by the most-derived type

This appears to be a bug in Visual Studio 2015; see VS 2015 generates a copy constructor and then complains about it on Microsoft Connect.

@noloader noloader added this to the 5.6.3 milestone Nov 4, 2015
@noloader
Copy link
Collaborator Author

noloader commented Nov 4, 2015

Added tags Invalid and Bug. It was marked Invalid because its a Microsoft bug. it was marked as Bug because we are going to work around it for library users.

@noloader noloader modified the milestones: 5.7, 5.6.3 Nov 20, 2015
@Zireael-N
Copy link
Contributor

Have you tried VS 2015 Update 1? The bug report on Microsoft Connect is now "Closed as Fixed".

@noloader
Copy link
Collaborator Author

Have you tried VS 2015 Update 1?

@Zireael-N - No, I don't have a working copy of Visual Studio 2015.

@denisbider
Copy link
Collaborator

The Community Edition is free, but it looks like you need to open some type of account to receive the free license. I was able to find information here:

http://blogs.msdn.com/b/visualstudio/archive/2015/08/07/visual-studio-2015-faq.aspx#CommunityEditionTrialExpiry

@Zireael-N
Copy link
Contributor

but it looks like you need to open some type of account to receive the free license

Not really, you can just download it here: https://www.visualstudio.com/downloads/download-visual-studio-vs

@denisbider
Copy link
Collaborator

If you check Jeff's link to Stack Overflow, the problem is not the download (he has the Community Edition) but that he has not taken the steps necessary to activate the free license beyond the trial period.

@Zireael-N
Copy link
Contributor

Oh, I didn't expect that link to be leading to a question on Stack Overflow.

At one point after the installation VS did ask me to sign in into MS account, I have one so I guess that's why I didn't have a trial period. You can make one here: https://signup.live.com/signup

@noloader
Copy link
Collaborator Author

noloader commented Jul 4, 2016

@noloader noloader closed this as completed Jul 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants