IntWars
IntWars copied to clipboard
Visual Studio 2013 compile
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: 02b3df38d5ef895356f13e3957e75b86a9b17f0b (updated issue)
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.
Allright. I gonna switch over to vs 12. I gonna tell you if build succeeded and close this issue.
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.
Woud be cool if you could attach a log of the errors.
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
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
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.
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).
Bypassing this error creates a new set of errors. The codestyle used is not yet supported by Visual Studio.
also what exactly does that line of code do...? never seen anything like that.
http://blogs.msdn.com/b/vcblog/archive/2014/11/12/visual-studio-2015-preview-now-available.aspx
Will it ble- uh, compile?