0
What does "error: jump to case label [-fpermissive]" mean? (sorry for my english) [ANSWERED]
this error promted when i tried to use switch un c++
3 Antworten
0
@javi
You can use {} after a case label to prevent this error. This is similar to what is done with goto label and can solve the declaration problem.
Eg :
case 1: { int x = 5038; break; }
+ 4
You should link your code so we can see the full thing and help more.
+ 1
Yes, i was... took it all out and worked ok! thanks!! (didn't link the code because it was todo long)