Re: an old thread https://groups.google.com/forum/#!searchin/codenameone-discussions/statement$20expected%7Csort:relevance/codenameone-discussions/jBNoy1bSKM4/ZrW5in1dCwAJ
This is still an extant problem that crops up randomly; today I got to the bottom of it. The problem is that the asm package is generating duplicate labels, albeit in different classes. Of itself this is probably not a problem, but parpavm maintains a static global list of used labels. When one of these unused but duplicate labels appears at the end of a function, xcode is unhappy. Here's the direct evidence from one of my recent builds G:\temp\btest\build\dist\Launch-src>grep -i "L590511187" * > com_codename1_ui_Display.m:label_L590511187: > online_game_commonCanvas.m:label_L590511187: > online_game_commonCanvas.m: if (ilocals_8_<ilocals_9_) /* IF_IMPLT > CustomJump */ goto label_L590511187; > The best way to fix it is not completely obvious - does this really need to be a global static set? It seems likely to me that the maximum scope of a label is a single method. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/b9ebcc8e-ea93-4d6a-a3c0-3033535c43f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
