Page 1 of 1

Switch + Constant

Posted: Wed Jul 14, 2010 3:28 pm
by Kjell
:!:

Using constants in a switch case doesn't work in standalone builds. For example ..

Code: Select all

switch(0)
{
  case 0:
    float A = PI;
    break;
}
.. in OnLoaded generates a broken executable.

K

Posted: Wed Jul 14, 2010 8:39 pm
by VilleK
That's a nasty bug you've found. I've found the reason and I'll fix it asap!