• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling TFS 1.0 + VS 2013 + small change = hell :)

Gesior.pl

Mega Noob&LOL 2012
Senator
Joined
Sep 18, 2007
Messages
3,590
Solutions
140
Reaction score
4,688
Location
Poland
GitHub
gesior
I've added ~30 new attributes to items.cpp [reflection system from 0.4] and now I can't compile it in VS2013, because it throws:

Error 1 error C1061: compiler limit : blocks nested too deeply C:\Users\PRO\Desktop\source\src\items.cpp 950 1 theforgottenserver


I think it's related to:
http://support.microsoft.com/kb/315481

Are you planning to not add more item attributes?

Any idea how to solve it? Or are you going to change VS2013 to some working program?
 
try to break it down in several functions, like make int types and string types in different functions, not sure if it solves the problem but it's worth a shot.
 
try to break it down in several functions, like make int types and string types in different functions, not sure if it solves the problem but it's worth a shot.
I just compile and run it on Ubuntu on VM, but it does not solve problem with VisualC++ compiler. I don't know if there are any 'flags' I can pass to compiler to increase limit. Changing code because one compiler got problem is not a solution.
 
Last edited:
I've added ~30 new attributes to items.cpp [reflection system from 0.4] and now I can't compile it in VS2013, because it throws:

Error 1 error C1061: compiler limit : blocks nested too deeply C:\Users\PRO\Desktop\source\src\items.cpp 950 1 theforgottenserver


I think it's related to:
http://support.microsoft.com/kb/315481

Are you planning to not add more item attributes?

Any idea how to solve it? Or are you going to change VS2013 to some working program?
It seems like it's not only 2013 problem in fact I don't see vs 2013 here:
Applies to
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Team Suite
  • Microsoft Visual Studio 2008 Academic Edition
  • Microsoft Visual Studio 2008 Standard Edition
  • Microsoft Visual Studio 2008 Professional Edition
  • Microsoft Visual Studio Team System 2008 Team Suite
  • Microsoft Visual Studio 2010 Professional
  • Microsoft Visual Studio 2010 Premium
  • Microsoft Visual Studio 2010 Ultimate
  • Microsoft Visual Studio Professional 2012
  • Microsoft Visual Studio Premium 2012
  • Microsoft Visual Studio Ultimate 2012
 
Back
Top