I've fixed a few new errors the BETA compiler found in my code. But I'm getting HUNDREDS of these warnings. I have no clue what it is expecting me to do here. Any ideas?
I've fixed a few new errors the BETA compiler found in my code. But I'm getting HUNDREDS of these warnings. I have no clue what it is expecting me to do here. Any ideas?
See https://forums.garmin.com/developer/connect-iq/b/news-announcements/posts/optimal-monkey-c
It talks about -L and -O
Type Checking has been there for some time, but the default was that it was off. With…
None of your arrays are typed, it might be the issue. I would add types:
var SysColors as Array<Graphics.ColorType> = [...] as Array<Graphics.ColorType>;
etc...
For existing apps, I would simply turn off type checking (-l0) as it's going to be more than a simple change to use type checking, especially if you have a bunch of apps.
If you have a mature and established…
You hit it. Shame on me, i was too long thinking in C#. Should more often change languages...
Thanks for your hint.
Good idea. I have a bunch of small Data Fields, that a lot of people use, that aren't changing. I have one large mature data field that is my goto/active app, and that is working great. So yeah I'll turn off type checking.