About Store Forum Documentation Contact



Post Reply 
Code Editor Compiler Error C2730 bug
Author Message
Fex Offline
Gold Supporter

Post: #1
Code Editor Compiler Error C2730 bug
Having 2 const flt declarations on same line is causing "compiler error C2730 - redefinition different storage class". This is occurring in an edited Constants.es file from the Ineisis source code

If I insert a newline between them, the problem goes away, or if I use a comma between them, that is OK as well. Cleaning/Rebuilding has no effect.

Compiler Error C2730
Code:
const flt FireballMana=50.0; const flt FireballRecastTime=10.0;

No error:
Code:
const flt FireballMana=50.0;
const flt FireballRecastTime=10.0;


No error:
Code:
const flt FireballMana=50.0, FireballRecastTime=10.0;

Minor issue, but took me a few minutes to figure out I wasn't actually doing something wrong.
10-06-2012 05:24 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Code Editor Compiler Error C2730 bug
Thanks, I'm checking this.
10-07-2012 10:43 AM
Find all posts by this user Quote this message in a reply
Post Reply