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

Visual Studio 2013 compile #30

Open
ghost opened this issue Aug 7, 2014 · 11 comments
Open

Visual Studio 2013 compile #30

ghost opened this issue Aug 7, 2014 · 11 comments

Comments

@ghost
Copy link

ghost commented Aug 7, 2014

Sup guys.
I got interested in this project since it seems to be pretty active and would love to implement some champions within the next times.
but sadly it seems that the compile for vs 12 is broken (127 errors total)

used software:
win7
cmake 2.8.12.1
vs 2013 express

revision of the report: 02b3df3
(updated issue)

@chutch1122
Copy link

We are using C++ 2011 features that are not implemented in the Visual Studio 2012 and earlier compilers. If you want to use Visual Studio, you will need Visual Studio 2013. Otherwise, you can use MinGW.

@ghost
Copy link
Author

ghost commented Aug 7, 2014

Allright. I gonna switch over to vs 12. I gonna tell you if build succeeded and close this issue.

@ghost
Copy link
Author

ghost commented Aug 7, 2014

Well, it fixed about 50 errors but there are still 50 errors left.
I just used the _NOEXEPT macro and killed 14 errors. abou 36 left to go.

@ghost ghost changed the title Visual Studio 2012 compile Visual Studio 2013 compile Aug 7, 2014
@Elyotna
Copy link
Owner

Elyotna commented Aug 7, 2014

Woud be cool if you could attach a log of the errors.

@ghost
Copy link
Author

ghost commented Aug 7, 2014

Well i used the _NOEXPECT macro at the remaining points and the build was fixed. so its the problem that the defined noexept is declared as undefined. (in any reason)
--Update
well the noexecpt macros are fixing the most errors. just the latest changes introduced some new errors cuz some wanna initialize the spellcooldown directly --> float cooldown[5] = {1.f,1.f,1.f,1.f,1.f};//same as above

@ghost
Copy link
Author

ghost commented Aug 7, 2014

checkout my commit at
https://github.com/NorthStrider/IntWars/commit/1821a81cb3aec5352efb0c8248e4c350fdd7b29e
the build works so far just the startup seems to be broken after loading raffiles -abort() called

@0x2A
Copy link

0x2A commented Sep 23, 2014

I was hardly keeping the vs 2013 compatible repo (intline) alive, but now there are functions used from sol that cant even be compiled with 2013 update 2. I am trying to create a makefile project which uses mingw as compiler instead vs but there are still problems with intellisence and debugging.

@pseudonym117
Copy link

it is possible to compile most of the source with the visual studio 14 CTP (it supports noexcept, and a few other new c++ features). however, there are issues in traits.hpp (and there were 3 others that were easily fixed by adding #include <ctime> and manually initializing and array instead of doing it on the same line as the constructor definition).

specifically, in traits.hpp the struct check_deducible_signature errors on using type... with Error 7 error C3203: 'nat': unspecialized class template can't be used as a template argument for template parameter '_Ty', expected a real type

any ideas on a solution to this? This SEEMS to be the only error i am getting in VS14, and it would be cool to be able to run everything through it (debugging and whatnot).

@Querijn
Copy link

Querijn commented Oct 8, 2014

Bypassing this error creates a new set of errors. The codestyle used is not yet supported by Visual Studio.

@pseudonym117
Copy link

also what exactly does that line of code do...? never seen anything like that.

@Querijn
Copy link

Querijn commented Nov 13, 2014

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

5 participants