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

Works on VS 2015, not on VS 2012 (C2864) #1

Closed
joshinils opened this issue Sep 10, 2018 · 4 comments
Closed

Works on VS 2015, not on VS 2012 (C2864) #1

joshinils opened this issue Sep 10, 2018 · 4 comments

Comments

@joshinils
Copy link

I’m sure this is a problem with my compiler on VS 2012.
I get a lot of C2864, https://msdn.microsoft.com/en-gb/library/acxkb76w.aspx .

How can i make VS 2012 behave?
What other options do i have beside using a newer version with another (newer) compiler?

@OneLoneCoder
Copy link
Owner

Unfortunately I use C++14 conventions, which would not exist in VS2012. Primarily, its because I initialise variables at declaration, instead of definition - something the newer standards allow you to do. If you could post your build output, it may only be a handful of variables which are causing you problems (often the error messages make the problem look worse than it is), I could analyse it and perhaps advise/implement workarounds.

@joshinils
Copy link
Author

here you go, sorry that it's in German. I can't find an English language pack anymore. i should really switch to a free and newer version anyway.

@OneLoneCoder
Copy link
Owner

Hi Josh, it does seem like its just an old compiler that's the problem. VS17 is free to download, and VS15 should be ok too.

@joshinils
Copy link
Author

yes, VS 2017 community is free, easy to get and works, I'll start using that from now on

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