Skip to content

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

Closed

Description

@joshinils

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?

Activity

  1. OneLoneCoder commented on Sep 10, 2018

    @OneLoneCoder
    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.

  2. joshinils commented on Sep 10, 2018

    @joshinils
    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.

  3. OneLoneCoder commented on Sep 11, 2018

    @OneLoneCoder
    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.

  4. joshinils commented on Sep 11, 2018

    @joshinils
    Author

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

  5. added a commit that references this issue on Feb 2, 2019
  6. added a commit that references this issue on Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions