This sample:
int a,b,c,d, x;
x='a';
a=b=c=d='x';
switch(x)
{
case 'a':
case 'x':
case 'z':
case 'f':
case 'j':
case 'w':
case 'y':
a=b;
break;
case 'b':
b=c;
break;
case 'c':
c=d;
break;
case 'd':
d=a;
break;
}
printf("%d%d%d%d%d", a, b, c, d, x);
switch(x)
{
case 'a':
case 'b':
case 'c':
case 'd':
d=a;
break;
}
Works without problems here.
What really are a, b, c etc?
This snippet gives a similiar error:
#define d 'd':
switch(x)
{
case 'a':
case 'b':
case 'c':
case d:
c=a;
break;
}
Could you post a snippet of your code, possibly a simple project with the options you have set.